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: translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009808/0.0009812, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006695/0.006695, allocations: 169.9 kB / 16.27 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7906/0.7906, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 19.94 kB / 0.504 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4691, allocations: 81.57 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.00149/0.4706, allocations: 1.16 MB / 0.5848 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000276/0.4709, allocations: 89.56 kB / 0.5849 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.471, allocations: 0.625 kB / 0.5849 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.471, allocations: 4.734 kB / 0.5849 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.849e-05/0.471, allocations: 5.109 kB / 0.5849 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.4712, allocations: 15.91 kB / 0.5849 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.4713, allocations: 28.69 kB / 0.5849 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.538e-05/0.4713, allocations: 8.641 kB / 0.5849 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.4714, allocations: 5.547 kB / 0.585 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.4714, allocations: 14.72 kB / 0.585 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.4714, allocations: 1.344 kB / 0.585 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-05/0.4715, allocations: 14.16 kB / 0.585 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.4715, allocations: 4.75 kB / 0.585 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.4716, allocations: 33.38 kB / 0.585 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.4717, allocations: 31.16 kB / 0.585 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4717, allocations: 4.656 kB / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4717, allocations: 0 / 0.5851 GB, free: 3.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.4717, allocations: 4.969 kB / 0.5851 GB, free: 3.02 MB / 430.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.0003692/0.4721, allocations: 338.1 kB / 0.5854 GB, free: 2.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4721, allocations: 13.59 kB / 0.5854 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.4723, allocations: 15.61 kB / 0.5854 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.679e-05/0.4724, allocations: 172.3 kB / 0.5856 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.4724, allocations: 5.125 kB / 0.5856 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4724, allocations: 5.531 kB / 0.5856 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.4726, allocations: 63.55 kB / 0.5856 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4726, allocations: 192 / 0.5856 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4727, allocations: 3.938 kB / 0.5856 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4727, allocations: 5.344 kB / 0.5857 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.4729, allocations: 65.25 kB / 0.5857 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.4732, allocations: 267.4 kB / 0.586 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.4734, allocations: 59.38 kB / 0.586 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.4736, allocations: 40.34 kB / 0.5861 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.4736, allocations: 5.375 kB / 0.5861 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.4736, allocations: 31.81 kB / 0.5861 GB, free: 2.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4736, allocations: 0 / 0.5861 GB, free: 2.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004625/0.4741, allocations: 125 kB / 0.5862 GB, free: 1.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.4741, allocations: 51.92 kB / 0.5863 GB, free: 1.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.025e-05/0.4742, allocations: 112.6 kB / 0.5864 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.4742, allocations: 34.58 kB / 0.5864 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.4742, allocations: 81.64 kB / 0.5865 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.4743, allocations: 6.062 kB / 0.5865 GB, free: 1.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.4743, allocations: 14.53 kB / 0.5865 GB, free: 1.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.4743, allocations: 312.8 kB / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4745, allocations: 33.94 kB / 0.5868 GB, free: 1.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.4746, allocations: 31.27 kB / 0.5869 GB, free: 1.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.4748, allocations: 64.69 kB / 0.5869 GB, free: 1.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4748, allocations: 0.625 kB / 0.5869 GB, free: 1.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002718/0.4751, allocations: 108.1 kB / 0.587 GB, free: 1.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4751, allocations: 10.53 kB / 0.587 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4752, allocations: 0.6562 kB / 0.587 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4752, allocations: 0 / 0.587 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4753, allocations: 14.39 kB / 0.5871 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.4753, allocations: 0.7188 kB / 0.5871 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.4754, allocations: 16.5 kB / 0.5871 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.4754, allocations: 0 / 0.5871 GB, free: 1.258 MB / 430.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 5.272e-05/0.4754, allocations: 116.6 kB / 0.5872 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.4755, allocations: 1.938 kB / 0.5872 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.541e-05/0.4755, allocations: 4.984 kB / 0.5872 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4755, allocations: 0.9062 kB / 0.5872 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4755, allocations: 0.7031 kB / 0.5872 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4755, allocations: 4.766 kB / 0.5872 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.4757, allocations: 176.2 kB / 0.5874 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4757, allocations: 1.156 kB / 0.5874 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.642e-05/0.4758, allocations: 18.17 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4758, allocations: 1.375 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.4758, allocations: 0 / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.4758, allocations: 0.7031 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4758, allocations: 1.375 kB / 0.5874 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.4761, allocations: 193.8 kB / 0.5876 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.4761, allocations: 83.61 kB / 0.5877 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.4761, allocations: 6.078 kB / 0.5877 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.4763, allocations: 14.17 kB / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.4763, allocations: 2.531 kB / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4763, allocations: 1.984 kB / 0.5877 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.794e-05/0.4763, allocations: 82.08 kB / 0.5878 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4763, allocations: 0 / 0.5878 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.4766, allocations: 8.375 kB / 0.5878 GB, free: 0.5859 MB / 430.1 MB 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 9.475e-05/0.4767, allocations: 98.28 kB / 0.5879 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.477, allocations: 64.19 kB / 0.5879 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.477, allocations: 4.656 kB / 0.5879 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4771, allocations: 32.95 kB / 0.588 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.4774, allocations: 10.97 kB / 0.588 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.4777, allocations: 132.4 kB / 0.5881 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.478, allocations: 0.6768 MB / 0.5887 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.19e-05/0.478, allocations: 1.922 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.594e-05/0.478, allocations: 8.406 kB / 0.5888 GB, free: 15.65 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.478, allocations: 0 / 0.5888 GB, free: 15.65 MB / 446.1 MB Notification: Performance of Templates: time 0.002546/0.4806, allocations: 0.494 MB / 0.5892 GB, free: 15.59 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)