Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.005274/0.005274, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.001247/0.001247, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7732/0.7732, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.7 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1683, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002755/0.1711, allocations: 1.438 MB / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.1714, allocations: 88.59 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.1715, allocations: 0 / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.887e-05/0.1716, allocations: 3.938 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.1716, allocations: 3.938 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.1718, allocations: 15.92 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.597e-05/0.1719, allocations: 31.92 kB / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.172, allocations: 11.98 kB / 0.6607 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.1721, allocations: 11.92 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.1721, allocations: 11.98 kB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1721, allocations: 0 / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.429e-05/0.1722, allocations: 15.98 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.1722, allocations: 11.94 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.1723, allocations: 7.938 kB / 0.6608 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1724, allocations: 35.88 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1724, allocations: 0 / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1724, allocations: 4 kB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1724, allocations: 4 kB / 0.6608 GB, free: 12.29 MB / 0.4981 GB 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.0004884/0.1729, allocations: 338.3 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.173, allocations: 12.03 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.173, allocations: 34.75 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.1732, allocations: 12.92 kB / 0.6612 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1733, allocations: 172.8 kB / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.1734, allocations: 4.375 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1734, allocations: 8.375 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1736, allocations: 54.23 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1736, allocations: 3.938 kB / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1736, allocations: 0 / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1736, allocations: 0 / 0.6615 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.1738, allocations: 51.94 kB / 0.6615 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.1743, allocations: 257.2 kB / 0.6618 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1745, allocations: 58.42 kB / 0.6618 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1746, allocations: 32.89 kB / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1746, allocations: 3.984 kB / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1746, allocations: 34.56 kB / 0.6619 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.1747, allocations: 0 / 0.6619 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004297/0.1751, allocations: 105.6 kB / 0.662 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1751, allocations: 51.41 kB / 0.662 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.17e-05/0.1752, allocations: 106 kB / 0.6621 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1753, allocations: 29.7 kB / 0.6622 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.1753, allocations: 84.08 kB / 0.6622 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1753, allocations: 11.89 kB / 0.6622 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.1754, allocations: 13.72 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1755, allocations: 310.8 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.1756, allocations: 27.97 kB / 0.6626 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.586e-05/0.1757, allocations: 23.98 kB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.1759, allocations: 52.75 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1759, allocations: 7.875 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002496/0.1762, allocations: 85.58 kB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1762, allocations: 8.094 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1762, allocations: 0 / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1763, allocations: 4 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1764, allocations: 7.984 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1764, allocations: 4 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.1765, allocations: 7.984 kB / 0.6628 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1765, allocations: 0 / 0.6628 GB, free: 10.08 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.335e-05/0.1766, allocations: 110.4 kB / 0.6629 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1766, allocations: 11.91 kB / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.1767, allocations: 7.531 kB / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1767, allocations: 0 / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.1767, allocations: 3.984 kB / 0.6629 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1767, allocations: 0 / 0.6629 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.1769, allocations: 165.6 kB / 0.6631 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1769, allocations: 0 / 0.6631 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.177, allocations: 11.98 kB / 0.6631 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.177, allocations: 0 / 0.6631 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.177, allocations: 4.25 kB / 0.6631 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.177, allocations: 8 kB / 0.6631 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1771, allocations: 4 kB / 0.6631 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1774, allocations: 175.4 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.1774, allocations: 85.02 kB / 0.6633 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1774, allocations: 0 / 0.6633 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.1775, allocations: 12.02 kB / 0.6634 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.1776, allocations: 0 / 0.6634 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1776, allocations: 4 kB / 0.6634 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.1777, allocations: 83.28 kB / 0.6634 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1777, allocations: 0 / 0.6634 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002184/0.1779, allocations: 4 kB / 0.6634 GB, free: 9.301 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006519/0.1785, allocations: 0.7124 MB / 0.6641 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1788, allocations: 51.94 kB / 0.6642 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1788, allocations: 0 / 0.6642 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1789, allocations: 32.06 kB / 0.6642 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1793, allocations: 7.938 kB / 0.6642 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.1798, allocations: 147.1 kB / 0.6644 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.18, allocations: 0.6806 MB / 0.665 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.1801, allocations: 8 kB / 0.665 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.1801, allocations: 15.44 kB / 0.665 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1801, allocations: 0 / 0.665 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.1981, allocations: 1.46 MB / 0.6665 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/7.663, allocations: 9.25 kB / 0.6665 GB, free: 6.188 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)