Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_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.001219/0.001219, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9735/0.9735, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.78 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.16, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003542/0.1636, allocations: 1.422 MB / 0.5859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003917/0.164, allocations: 92.59 kB / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.1641, allocations: 0 / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.529e-05/0.1642, allocations: 0 / 0.5859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.164e-05/0.1643, allocations: 11.88 kB / 0.586 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1646, allocations: 11.98 kB / 0.586 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1647, allocations: 27.86 kB / 0.586 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1649, allocations: 7.984 kB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.713e-05/0.1649, allocations: 11.98 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.239e-05/0.165, allocations: 15.92 kB / 0.586 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.165, allocations: 8 kB / 0.586 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.1651, allocations: 11.98 kB / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.324e-05/0.1652, allocations: 4 kB / 0.5861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.1652, allocations: 11.94 kB / 0.5861 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.1654, allocations: 39.88 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.1654, allocations: 0 / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1654, allocations: 3.938 kB / 0.5861 GB, free: 2.773 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1654, allocations: 0 / 0.5861 GB, free: 2.773 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.0005266/0.166, allocations: 343.7 kB / 0.5864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.166, allocations: 12.03 kB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.1661, allocations: 30.75 kB / 0.5865 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.1663, allocations: 16.83 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1664, allocations: 168.4 kB / 0.5867 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.1665, allocations: 8.312 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.1665, allocations: 4.359 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.1667, allocations: 58.23 kB / 0.5867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1667, allocations: 3.938 kB / 0.5867 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1667, allocations: 4 kB / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1667, allocations: 0 / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.167, allocations: 51.88 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1674, allocations: 257 kB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1676, allocations: 54.48 kB / 0.5871 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1677, allocations: 32.89 kB / 0.5871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1677, allocations: 0 / 0.5871 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1677, allocations: 30.56 kB / 0.5871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1677, allocations: 0 / 0.5871 GB, free: 1.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004207/0.1682, allocations: 113.5 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.1682, allocations: 51.41 kB / 0.5873 GB, free: 1.367 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.1683, allocations: 105.8 kB / 0.5874 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1684, allocations: 25.7 kB / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.1684, allocations: 84.14 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1684, allocations: 15.83 kB / 0.5875 GB, free: 1.121 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.1685, allocations: 13.84 kB / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1686, allocations: 318.8 kB / 0.5878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1687, allocations: 23.97 kB / 0.5879 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.1688, allocations: 19.98 kB / 0.5879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.169, allocations: 60.75 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.169, allocations: 3.938 kB / 0.5879 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002395/0.1693, allocations: 77.64 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1693, allocations: 10.34 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1693, allocations: 0 / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1693, allocations: 0 / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1695, allocations: 11.98 kB / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1695, allocations: 4.031 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.1695, allocations: 7.984 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1696, allocations: 0 / 0.588 GB, free: 0.5586 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 (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 9.545e-05/0.1697, allocations: 117.8 kB / 0.5882 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1697, allocations: 0 / 0.5882 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.1697, allocations: 3.531 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1697, allocations: 7.938 kB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1697, allocations: 0 / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.1698, allocations: 7.984 kB / 0.5882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.1699, allocations: 165.6 kB / 0.5883 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.17, allocations: 4 kB / 0.5883 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.473e-05/0.17, allocations: 11.92 kB / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.17, allocations: 0 / 0.5883 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1701, allocations: 4.25 kB / 0.5883 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1701, allocations: 4 kB / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1701, allocations: 0 / 0.5884 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.1704, allocations: 183.3 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.1704, allocations: 77.11 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.1705, allocations: 0 / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.1706, allocations: 11.98 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1706, allocations: 4 kB / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1706, allocations: 0 / 0.5886 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.1707, allocations: 83.31 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1707, allocations: 0 / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002168/0.1709, allocations: 8 kB / 0.5887 GB, free: 15.78 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.0005351/0.1714, allocations: 0.7101 MB / 0.5894 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1717, allocations: 55.94 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1717, allocations: 0 / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1718, allocations: 31.91 kB / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.1721, allocations: 0 / 0.5895 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.1727, allocations: 159.1 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1729, allocations: 0.6806 MB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.1729, allocations: 4 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.173, allocations: 7.438 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.173, allocations: 4 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.1905, allocations: 1.423 MB / 0.5917 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/7.541, allocations: 15.3 kB / 0.5917 GB, free: 12.68 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)