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.006655/0.006655, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001495/0.001495, allocations: 193 kB / 16.67 MB, free: 5.973 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 132.2 MB / 422.7 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.89 kB / 0.5814 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4967, allocations: 80.21 MB / 0.6597 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002685/0.4994, allocations: 1.433 MB / 0.6611 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003201/0.4998, allocations: 94.64 kB / 0.6612 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.4998, allocations: 4 kB / 0.6612 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.4999, allocations: 3.938 kB / 0.6612 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.4999, allocations: 5.891 kB / 0.6612 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.5002, allocations: 12.72 kB / 0.6612 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.671e-05/0.5003, allocations: 26.2 kB / 0.6612 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.5004, allocations: 9.016 kB / 0.6612 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.5004, allocations: 12.3 kB / 0.6612 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.107e-05/0.5005, allocations: 15.14 kB / 0.6613 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.5005, allocations: 1.781 kB / 0.6613 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.5006, allocations: 20.84 kB / 0.6613 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.5006, allocations: 6.203 kB / 0.6613 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.5006, allocations: 11.62 kB / 0.6613 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.5008, allocations: 30.3 kB / 0.6613 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5008, allocations: 0 / 0.6613 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5008, allocations: 0 / 0.6613 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.5008, allocations: 2.25 kB / 0.6613 GB, free: 9.457 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.0003968/0.5012, allocations: 339.5 kB / 0.6616 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5012, allocations: 9.656 kB / 0.6617 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.5014, allocations: 17.56 kB / 0.6617 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.789e-05/0.5015, allocations: 175.1 kB / 0.6618 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.5015, allocations: 5.844 kB / 0.6618 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.5015, allocations: 4.312 kB / 0.6619 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.5017, allocations: 61.06 kB / 0.6619 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.5017, allocations: 192 / 0.6619 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5017, allocations: 3.938 kB / 0.6619 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5018, allocations: 1.25 kB / 0.6619 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.502, allocations: 51.31 kB / 0.662 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.5023, allocations: 265.4 kB / 0.6622 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.5025, allocations: 52.12 kB / 0.6623 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.5026, allocations: 33.3 kB / 0.6623 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.5026, allocations: 0.5625 kB / 0.6623 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.5026, allocations: 35.97 kB / 0.6623 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.5026, allocations: 0 / 0.6623 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003906/0.503, allocations: 104.5 kB / 0.6624 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.5031, allocations: 52.5 kB / 0.6625 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.5031, allocations: 104.6 kB / 0.6626 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.5031, allocations: 26.83 kB / 0.6626 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.5032, allocations: 90.09 kB / 0.6627 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.5032, allocations: 9.328 kB / 0.6627 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.5032, allocations: 16.53 kB / 0.6627 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.5033, allocations: 313.5 kB / 0.663 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5034, allocations: 27.84 kB / 0.663 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.5035, allocations: 23.52 kB / 0.6631 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.5037, allocations: 46.92 kB / 0.6631 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5037, allocations: 1.312 kB / 0.6631 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002128/0.5039, allocations: 89.75 kB / 0.6632 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5039, allocations: 4.469 kB / 0.6632 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5039, allocations: 5.203 kB / 0.6632 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.504, allocations: 0 / 0.6632 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5041, allocations: 11.83 kB / 0.6632 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5041, allocations: 0 / 0.6632 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.5041, allocations: 9.281 kB / 0.6632 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.5042, allocations: 5.375 kB / 0.6632 GB, free: 7.684 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 5.761e-05/0.5042, allocations: 114.8 kB / 0.6633 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.5043, allocations: 5.031 kB / 0.6633 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.5043, allocations: 4.688 kB / 0.6634 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5043, allocations: 0.9375 kB / 0.6634 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5043, allocations: 0 / 0.6634 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5043, allocations: 1.156 kB / 0.6634 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.5044, allocations: 168.2 kB / 0.6635 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5044, allocations: 0 / 0.6635 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.609e-05/0.5045, allocations: 14.7 kB / 0.6635 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5045, allocations: 1.5 kB / 0.6635 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.5045, allocations: 4.188 kB / 0.6635 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5046, allocations: 4 kB / 0.6635 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5046, allocations: 1.406 kB / 0.6635 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.5048, allocations: 182.6 kB / 0.6637 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.5048, allocations: 82.55 kB / 0.6638 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.5049, allocations: 0 / 0.6638 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.564e-05/0.505, allocations: 9.422 kB / 0.6638 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.505, allocations: 1.375 kB / 0.6638 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.505, allocations: 0 / 0.6638 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.505, allocations: 88.2 kB / 0.6639 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5051, allocations: 3.938 kB / 0.6639 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002205/0.5053, allocations: 5.25 kB / 0.6639 GB, free: 6.973 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.0001013/0.5054, allocations: 98.47 kB / 0.664 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.5056, allocations: 57.25 kB / 0.664 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5056, allocations: 0 / 0.664 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.5057, allocations: 22.86 kB / 0.6641 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.506, allocations: 12.19 kB / 0.6641 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.5063, allocations: 132.1 kB / 0.6642 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.5064, allocations: 0.674 MB / 0.6649 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.5065, allocations: 5.266 kB / 0.6649 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.5065, allocations: 12.73 kB / 0.6649 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.5065, allocations: 4 kB / 0.6649 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of Templates: time 0.00251/0.509, allocations: 0.5704 MB / 0.6654 GB, free: 5.707 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)