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: translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005264/0.005264, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.001146/0.001146, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9981/0.9981, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4393, allocations: 80.92 MB / 0.6647 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002434/0.4418, allocations: 1.439 MB / 0.6661 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002897/0.4421, allocations: 88.31 kB / 0.6661 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4422, allocations: 0 / 0.6661 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.4422, allocations: 9.266 kB / 0.6661 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.765e-05/0.4423, allocations: 3.938 kB / 0.6662 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.4425, allocations: 17.39 kB / 0.6662 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.4426, allocations: 25.58 kB / 0.6662 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.4427, allocations: 7.484 kB / 0.6662 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.4427, allocations: 10.91 kB / 0.6662 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.96e-05/0.4428, allocations: 19.89 kB / 0.6662 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.4428, allocations: 2.656 kB / 0.6662 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.4428, allocations: 12.36 kB / 0.6662 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.4429, allocations: 4.969 kB / 0.6662 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.4429, allocations: 14.08 kB / 0.6663 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.443, allocations: 36.56 kB / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.443, allocations: 0 / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.443, allocations: 0 / 0.6663 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.443, allocations: 1 kB / 0.6663 GB, free: 6.285 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.0003829/0.4434, allocations: 344.2 kB / 0.6666 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4435, allocations: 13.17 kB / 0.6666 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.4436, allocations: 11.7 kB / 0.6667 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.874e-05/0.4437, allocations: 174.5 kB / 0.6668 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.4437, allocations: 5.625 kB / 0.6668 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.4437, allocations: 1.562 kB / 0.6668 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4439, allocations: 57.66 kB / 0.6669 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.444, allocations: 192 / 0.6669 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.444, allocations: 15.92 kB / 0.6669 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.444, allocations: 1.188 kB / 0.6669 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.4442, allocations: 41.64 kB / 0.6669 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.4445, allocations: 259.6 kB / 0.6672 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.4447, allocations: 62.98 kB / 0.6672 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.915e-05/0.4448, allocations: 30.61 kB / 0.6673 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.4448, allocations: 0 / 0.6673 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.4448, allocations: 32 kB / 0.6673 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.4448, allocations: 0 / 0.6673 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003935/0.4452, allocations: 108.8 kB / 0.6674 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.4452, allocations: 51.41 kB / 0.6675 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.971e-05/0.4453, allocations: 105.8 kB / 0.6676 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.4453, allocations: 25.7 kB / 0.6676 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.4453, allocations: 93.19 kB / 0.6677 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.4454, allocations: 5.109 kB / 0.6677 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.4454, allocations: 16.22 kB / 0.6677 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.4455, allocations: 315.9 kB / 0.668 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-05/0.4456, allocations: 25.31 kB / 0.668 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-05/0.4457, allocations: 20.91 kB / 0.668 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.4458, allocations: 54.94 kB / 0.6681 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4458, allocations: 1.094 kB / 0.6681 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002162/0.4461, allocations: 83.06 kB / 0.6682 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4461, allocations: 6.594 kB / 0.6682 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.4461, allocations: 0 / 0.6682 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4461, allocations: 3.984 kB / 0.6682 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.4462, allocations: 8.344 kB / 0.6682 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4462, allocations: 8.016 kB / 0.6682 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.4463, allocations: 9.062 kB / 0.6682 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.4463, allocations: 0 / 0.6682 GB, free: 4.391 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 6.703e-05/0.4464, allocations: 120 kB / 0.6683 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.4464, allocations: 1.312 kB / 0.6683 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.4465, allocations: 5.031 kB / 0.6683 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4465, allocations: 0 / 0.6683 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4465, allocations: 1.375 kB / 0.6683 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4465, allocations: 4 kB / 0.6683 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.4466, allocations: 168.8 kB / 0.6685 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4466, allocations: 0 / 0.6685 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.126e-05/0.4467, allocations: 11.3 kB / 0.6685 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4467, allocations: 3.938 kB / 0.6685 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.4467, allocations: 1.625 kB / 0.6685 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4467, allocations: 0 / 0.6685 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4467, allocations: 0 / 0.6685 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.447, allocations: 186.1 kB / 0.6687 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.447, allocations: 78.23 kB / 0.6688 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.447, allocations: 1.062 kB / 0.6688 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.4471, allocations: 8.766 kB / 0.6688 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.4472, allocations: 5.188 kB / 0.6688 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.4472, allocations: 1.562 kB / 0.6688 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.4472, allocations: 87.36 kB / 0.6689 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4472, allocations: 5.312 kB / 0.6689 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002102/0.4474, allocations: 4.125 kB / 0.6689 GB, free: 3.688 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.0001128/0.4476, allocations: 99.58 kB / 0.669 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.4478, allocations: 45.3 kB / 0.669 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4478, allocations: 1.5 kB / 0.669 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4479, allocations: 34.47 kB / 0.669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4482, allocations: 10.62 kB / 0.669 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.4485, allocations: 125 kB / 0.6692 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.4487, allocations: 0.6781 MB / 0.6698 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.4487, allocations: 5.344 kB / 0.6698 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.4487, allocations: 12.92 kB / 0.6698 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4487, allocations: 0 / 0.6698 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of Templates: time 0.002395/0.4511, allocations: 0.5683 MB / 0.6704 GB, free: 2.422 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)