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.009233/0.009233, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001858/0.001858, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7991/0.7991, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 0.5814 GB, free: 7.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.493, allocations: 80.19 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002588/0.4956, allocations: 1.448 MB / 0.6611 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.4959, allocations: 94.5 kB / 0.6612 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.496, allocations: 0 / 0.6612 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.496, allocations: 5.859 kB / 0.6612 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.061e-05/0.4961, allocations: 7.938 kB / 0.6612 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.4963, allocations: 13.77 kB / 0.6612 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.4964, allocations: 29 kB / 0.6612 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.4965, allocations: 4.938 kB / 0.6612 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.4966, allocations: 18.12 kB / 0.6613 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.4967, allocations: 15.22 kB / 0.6613 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.4967, allocations: 2 kB / 0.6613 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.4968, allocations: 15.34 kB / 0.6613 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.4968, allocations: 2.562 kB / 0.6613 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.4968, allocations: 11.7 kB / 0.6613 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.497, allocations: 34.33 kB / 0.6613 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.497, allocations: 0 / 0.6613 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.245e-06/0.497, allocations: 0.5625 kB / 0.6613 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.497, allocations: 1 kB / 0.6613 GB, free: 9.141 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.0004597/0.4975, allocations: 342.6 kB / 0.6617 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.4975, allocations: 9.812 kB / 0.6617 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.4977, allocations: 12.53 kB / 0.6617 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.4978, allocations: 167.3 kB / 0.6618 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.4978, allocations: 5.75 kB / 0.6618 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.4978, allocations: 5.719 kB / 0.6618 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.498, allocations: 59.95 kB / 0.6619 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.498, allocations: 192 / 0.6619 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.4981, allocations: 4.547 kB / 0.6619 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4981, allocations: 1.031 kB / 0.6619 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.4983, allocations: 55.16 kB / 0.662 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.4987, allocations: 261.7 kB / 0.6622 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.4989, allocations: 55.34 kB / 0.6623 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.499, allocations: 28.97 kB / 0.6623 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.4991, allocations: 5.984 kB / 0.6623 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4991, allocations: 35.69 kB / 0.6623 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4991, allocations: 0 / 0.6623 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004916/0.4996, allocations: 96.44 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.4996, allocations: 52.88 kB / 0.6625 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.4997, allocations: 115.7 kB / 0.6626 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.4997, allocations: 29.64 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.4998, allocations: 86.12 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.4998, allocations: 7.484 kB / 0.6627 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.4998, allocations: 17.27 kB / 0.6627 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.4999, allocations: 313.9 kB / 0.663 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.5, allocations: 22.5 kB / 0.663 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5002, allocations: 28.44 kB / 0.6631 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.5004, allocations: 47.16 kB / 0.6631 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5004, allocations: 0 / 0.6631 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002569/0.5007, allocations: 86.59 kB / 0.6632 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5007, allocations: 7.281 kB / 0.6632 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5007, allocations: 1.188 kB / 0.6632 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.5007, allocations: 0.6094 kB / 0.6632 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.5009, allocations: 14.44 kB / 0.6632 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.5009, allocations: 0.75 kB / 0.6632 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.5009, allocations: 8.031 kB / 0.6632 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.501, allocations: 5.266 kB / 0.6632 GB, free: 7.395 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 7.762e-05/0.501, allocations: 121.4 kB / 0.6633 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.5011, allocations: 5.125 kB / 0.6634 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.5011, allocations: 4.891 kB / 0.6634 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.5011, allocations: 1.281 kB / 0.6634 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5011, allocations: 0 / 0.6634 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.5011, allocations: 2.031 kB / 0.6634 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.5013, allocations: 167.5 kB / 0.6635 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5013, allocations: 0.75 kB / 0.6635 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.5014, allocations: 10.39 kB / 0.6635 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5014, allocations: 5.281 kB / 0.6635 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.5014, allocations: 0.7031 kB / 0.6635 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5014, allocations: 1.062 kB / 0.6635 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5014, allocations: 0 / 0.6635 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.5017, allocations: 178.1 kB / 0.6637 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/0.5018, allocations: 83.53 kB / 0.6638 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.5018, allocations: 8.734 kB / 0.6638 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.5019, allocations: 7.594 kB / 0.6638 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.502, allocations: 2.5 kB / 0.6638 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.502, allocations: 1.312 kB / 0.6638 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.502, allocations: 92.94 kB / 0.6639 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.502, allocations: 1.188 kB / 0.6639 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000217/0.5022, allocations: 4.344 kB / 0.6639 GB, free: 6.715 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.0001334/0.5024, allocations: 99.83 kB / 0.664 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003015/0.5027, allocations: 51.33 kB / 0.664 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5027, allocations: 0 / 0.664 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.5028, allocations: 29.33 kB / 0.6641 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.5031, allocations: 6.109 kB / 0.6641 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.5035, allocations: 133.7 kB / 0.6642 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.5036, allocations: 0.6767 MB / 0.6649 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.5037, allocations: 5.297 kB / 0.6649 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.5037, allocations: 9 kB / 0.6649 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.5037, allocations: 0 / 0.6649 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of Templates: time 0.002488/0.5062, allocations: 0.578 MB / 0.6654 GB, free: 5.484 MB / 0.4981 GB 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)