Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 192.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9911/0.9911, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.94 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1607, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001784/0.1625, allocations: 0.6349 MB / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002369/0.1628, allocations: 83.78 kB / 0.5847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.055e-05/0.1628, allocations: 4 kB / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.122e-05/0.1628, allocations: 0 / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.91e-05/0.1629, allocations: 7.938 kB / 0.5847 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.163, allocations: 19.91 kB / 0.5847 GB, free: 4.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.546e-05/0.1631, allocations: 4 kB / 0.5847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.1631, allocations: 4 kB / 0.5847 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.682e-05/0.1631, allocations: 7.938 kB / 0.5848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.1632, allocations: 0 / 0.5848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.1632, allocations: 4 kB / 0.5848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.515e-05/0.1633, allocations: 11.98 kB / 0.5848 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.1633, allocations: 8 kB / 0.5848 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1633, allocations: 7.984 kB / 0.5848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.577e-05/0.1634, allocations: 19.91 kB / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1634, allocations: 0 / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1634, allocations: 0 / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1634, allocations: 0 / 0.5848 GB, free: 3.957 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00028/0.1637, allocations: 315.6 kB / 0.5851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1637, allocations: 8.031 kB / 0.5851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.1638, allocations: 38.75 kB / 0.5851 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.1639, allocations: 16.92 kB / 0.5852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.164, allocations: 160.4 kB / 0.5853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1641, allocations: 384 / 0.5853 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.1641, allocations: 4.312 kB / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.1642, allocations: 42.25 kB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.1642, allocations: 3.938 kB / 0.5854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.1642, allocations: 4 kB / 0.5854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-06/0.1642, allocations: 0 / 0.5854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.1643, allocations: 11.98 kB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.1644, allocations: 157.7 kB / 0.5855 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1646, allocations: 42.53 kB / 0.5856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.1646, allocations: 12.92 kB / 0.5856 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.1646, allocations: 0 / 0.5856 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1647, allocations: 38.56 kB / 0.5856 GB, free: 2.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.1647, allocations: 0 / 0.5856 GB, free: 2.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001754/0.1649, allocations: 65.5 kB / 0.5857 GB, free: 2.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.1649, allocations: 51.41 kB / 0.5857 GB, free: 2.812 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.755e-05/0.1649, allocations: 89.86 kB / 0.5858 GB, free: 2.715 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.165, allocations: 25.7 kB / 0.5858 GB, free: 2.684 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.312e-05/0.165, allocations: 80.14 kB / 0.5859 GB, free: 2.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.165, allocations: 12.12 kB / 0.5859 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.1651, allocations: 21.7 kB / 0.5859 GB, free: 2.562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.1652, allocations: 314.8 kB / 0.5863 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.1652, allocations: 8 kB / 0.5863 GB, free: 2.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.1653, allocations: 11.92 kB / 0.5863 GB, free: 2.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.1653, allocations: 28.78 kB / 0.5863 GB, free: 2.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1653, allocations: 0 / 0.5863 GB, free: 2.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001075/0.1655, allocations: 45.69 kB / 0.5863 GB, free: 2.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1655, allocations: 8 kB / 0.5863 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1655, allocations: 3.938 kB / 0.5864 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.843e-06/0.1655, allocations: 0 / 0.5864 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.1659, allocations: 43.92 kB / 0.5864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1673, allocations: 1.4 MB / 0.5878 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.1673, allocations: 3.984 kB / 0.5878 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1673, allocations: 4.031 kB / 0.5878 GB, free: 0.543 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.962e-05/0.1674, allocations: 113.8 kB / 0.5879 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.939e-06/0.1674, allocations: 4.094 kB / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.1674, allocations: 7.438 kB / 0.5879 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1674, allocations: 0 / 0.5879 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.1674, allocations: 4 kB / 0.5879 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-06/0.1674, allocations: 0 / 0.5879 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.905e-05/0.1675, allocations: 157.6 kB / 0.588 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1676, allocations: 4 kB / 0.588 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.1679, allocations: 47.92 kB / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1679, allocations: 4 kB / 0.5881 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.168, allocations: 0 / 0.5881 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.1692, allocations: 1.408 MB / 0.5895 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1692, allocations: 8.016 kB / 0.5895 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1693, allocations: 70.78 kB / 0.5895 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.1694, allocations: 77.11 kB / 0.5896 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.1694, allocations: 3.938 kB / 0.5896 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.002e-05/0.1694, allocations: 7.984 kB / 0.5896 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.1694, allocations: 4.062 kB / 0.5896 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1694, allocations: 0 / 0.5896 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.1695, allocations: 75.28 kB / 0.5897 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1695, allocations: 0 / 0.5897 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001857/0.1697, allocations: 4 kB / 0.5897 GB, free: 14.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004494/0.1701, allocations: 0.6201 MB / 0.5903 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004583/0.1706, allocations: 63.91 kB / 0.5904 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1706, allocations: 3.938 kB / 0.5904 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.1709, allocations: 51.88 kB / 0.5904 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.171, allocations: 7.5 kB / 0.5904 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.1714, allocations: 126.5 kB / 0.5906 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.1716, allocations: 0.669 MB / 0.5912 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.1716, allocations: 8 kB / 0.5912 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.1717, allocations: 11.42 kB / 0.5912 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1717, allocations: 0 / 0.5912 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01045/0.1821, allocations: 1.16 MB / 0.5924 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.1823, allocations: 241.4 kB / 0.5926 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/1.816, allocations: 0 / 0.5926 GB, free: 11.42 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)