Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005175/0.005175, allocations: 103.9 kB / 15.74 MB, free: 6.008 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.001168/0.001168, allocations: 187 kB / 16.67 MB, free: 5.934 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.985/0.985, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.89 kB / 0.5857 GB, free: 3.262 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4591, allocations: 80.9 MB / 0.6647 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001682/0.4609, allocations: 0.5796 MB / 0.6652 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002972/0.4612, allocations: 103.2 kB / 0.6653 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.4612, allocations: 1.375 kB / 0.6653 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.4612, allocations: 0 / 0.6653 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.4613, allocations: 0 / 0.6653 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.4615, allocations: 17.83 kB / 0.6654 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.4616, allocations: 8.516 kB / 0.6654 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.4616, allocations: 1.406 kB / 0.6654 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.116e-05/0.4616, allocations: 5.547 kB / 0.6654 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.4617, allocations: 2.312 kB / 0.6654 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.4617, allocations: 1.125 kB / 0.6654 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.4618, allocations: 18.27 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.4618, allocations: 5.312 kB / 0.6654 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.4618, allocations: 9.344 kB / 0.6654 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.895e-05/0.4619, allocations: 13.47 kB / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4619, allocations: 0 / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.462, allocations: 0 / 0.6654 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.462, allocations: 0 / 0.6654 GB, free: 7.016 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.0003067/0.4623, allocations: 321.9 kB / 0.6657 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4623, allocations: 13.86 kB / 0.6657 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.4625, allocations: 13.7 kB / 0.6658 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.874e-05/0.4626, allocations: 167.2 kB / 0.6659 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.4626, allocations: 1.625 kB / 0.6659 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.4626, allocations: 1.562 kB / 0.6659 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.4627, allocations: 39.44 kB / 0.666 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4627, allocations: 4.125 kB / 0.666 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4627, allocations: 3.938 kB / 0.666 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4628, allocations: 5.844 kB / 0.666 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.4628, allocations: 15.23 kB / 0.666 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.463, allocations: 155.9 kB / 0.6661 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.4631, allocations: 37.45 kB / 0.6662 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.4632, allocations: 16.5 kB / 0.6662 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.4632, allocations: 1.219 kB / 0.6662 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.4632, allocations: 39.75 kB / 0.6662 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4632, allocations: 0 / 0.6662 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002071/0.4634, allocations: 57.02 kB / 0.6663 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4635, allocations: 56.66 kB / 0.6663 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.573e-05/0.4635, allocations: 89.86 kB / 0.6664 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.4635, allocations: 25.7 kB / 0.6664 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.084e-05/0.4635, allocations: 80.14 kB / 0.6665 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.4636, allocations: 9.234 kB / 0.6665 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.4636, allocations: 24.42 kB / 0.6666 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.4636, allocations: 312.2 kB / 0.6669 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.4637, allocations: 4.281 kB / 0.6669 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.4637, allocations: 8.172 kB / 0.6669 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.4638, allocations: 24.59 kB / 0.6669 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4638, allocations: 0 / 0.6669 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.01e-05/0.4639, allocations: 47.22 kB / 0.6669 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.4639, allocations: 9.25 kB / 0.6669 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4639, allocations: 4 kB / 0.6669 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4639, allocations: 3.938 kB / 0.6669 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.4643, allocations: 43.78 kB / 0.667 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000914/0.4652, allocations: 1.408 MB / 0.6684 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.4652, allocations: 1.25 kB / 0.6684 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4652, allocations: 5.125 kB / 0.6684 GB, free: 3.84 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.4653, allocations: 119.1 kB / 0.6685 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-06/0.4653, allocations: 1.469 kB / 0.6685 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.4653, allocations: 11.5 kB / 0.6685 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.4653, allocations: 1.219 kB / 0.6685 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.4653, allocations: 0 / 0.6685 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4653, allocations: 1.375 kB / 0.6685 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.758e-05/0.4654, allocations: 156.1 kB / 0.6686 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4654, allocations: 0 / 0.6686 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.4657, allocations: 51.69 kB / 0.6687 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4657, allocations: 0 / 0.6687 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4658, allocations: 9.172 kB / 0.6687 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007468/0.4665, allocations: 1.395 MB / 0.6701 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4665, allocations: 5.281 kB / 0.6701 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.639e-05/0.4666, allocations: 81.45 kB / 0.6702 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.4666, allocations: 78.55 kB / 0.6702 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.4666, allocations: 5.312 kB / 0.6702 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.4667, allocations: 0 / 0.6702 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.4667, allocations: 6.766 kB / 0.6702 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.4667, allocations: 0 / 0.6702 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.237e-05/0.4667, allocations: 79.28 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4667, allocations: 1.219 kB / 0.6703 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001874/0.4669, allocations: 7.812 kB / 0.6703 GB, free: 1.727 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001164/0.467, allocations: 96.8 kB / 0.6704 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.4675, allocations: 73.66 kB / 0.6705 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4675, allocations: 0 / 0.6705 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.4677, allocations: 35.3 kB / 0.6705 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.4678, allocations: 1.188 kB / 0.6705 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002492/0.4681, allocations: 103.6 kB / 0.6706 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.178e-05/0.4682, allocations: 0.6729 MB / 0.6713 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.4682, allocations: 1.469 kB / 0.6713 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.4683, allocations: 12.42 kB / 0.6713 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4683, allocations: 1.219 kB / 0.6713 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of Templates: time 0.002075/0.4704, allocations: 415.5 kB / 0.6717 GB, free: 0.5547 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)