Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001045/0.001045, allocations: 116.7 kB / 16.37 MB, free: 6 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.001012/0.001012, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7785/0.7785, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 71.88 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3614, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001703/0.3631, allocations: 0.589 MB / 0.5821 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.3634, allocations: 94.94 kB / 0.5822 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.684e-05/0.3634, allocations: 1.25 kB / 0.5822 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.3634, allocations: 0 / 0.5822 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.3635, allocations: 0 / 0.5822 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.3637, allocations: 20.8 kB / 0.5822 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.523e-05/0.3638, allocations: 7.719 kB / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.3638, allocations: 5.078 kB / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.3638, allocations: 6.812 kB / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.3639, allocations: 5.484 kB / 0.5822 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.3639, allocations: 0.625 kB / 0.5822 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.621e-05/0.364, allocations: 15.52 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.364, allocations: 2.094 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.005e-05/0.364, allocations: 5.156 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.056e-05/0.3641, allocations: 13.3 kB / 0.5823 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3641, allocations: 1.312 kB / 0.5823 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3641, allocations: 1.5 kB / 0.5823 GB, free: 27.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.3641, allocations: 0 / 0.5823 GB, free: 27.06 MB / 446.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.0002673/0.3644, allocations: 318.5 kB / 0.5826 GB, free: 26.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3645, allocations: 10.56 kB / 0.5826 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.3646, allocations: 12.58 kB / 0.5826 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.956e-05/0.3647, allocations: 162.6 kB / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3647, allocations: 1.188 kB / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.3647, allocations: 9.859 kB / 0.5827 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.3648, allocations: 43.97 kB / 0.5828 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.3648, allocations: 1.562 kB / 0.5828 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3649, allocations: 3.938 kB / 0.5828 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3649, allocations: 0.5312 kB / 0.5828 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/0.3649, allocations: 16.89 kB / 0.5828 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.873e-05/0.3651, allocations: 148.4 kB / 0.583 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3652, allocations: 48.83 kB / 0.583 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.3653, allocations: 13.91 kB / 0.583 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3653, allocations: 3.984 kB / 0.583 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.3653, allocations: 40.53 kB / 0.5831 GB, free: 26.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3653, allocations: 0 / 0.5831 GB, free: 26.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001904/0.3655, allocations: 54.84 kB / 0.5831 GB, free: 26.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.3655, allocations: 55.39 kB / 0.5832 GB, free: 26.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.976e-05/0.3656, allocations: 95.11 kB / 0.5833 GB, free: 25.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.3656, allocations: 27.2 kB / 0.5833 GB, free: 25.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.3656, allocations: 80.14 kB / 0.5834 GB, free: 25.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3656, allocations: 10.92 kB / 0.5834 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.3657, allocations: 13.84 kB / 0.5834 GB, free: 25.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.3657, allocations: 314.2 kB / 0.5837 GB, free: 25.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.3657, allocations: 11.64 kB / 0.5837 GB, free: 25.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.3658, allocations: 3.875 kB / 0.5837 GB, free: 25.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.889e-05/0.3659, allocations: 25.72 kB / 0.5837 GB, free: 25.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3659, allocations: 1 kB / 0.5837 GB, free: 25.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.077e-05/0.366, allocations: 49.8 kB / 0.5838 GB, free: 25.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.366, allocations: 7.031 kB / 0.5838 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.366, allocations: 0 / 0.5838 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.366, allocations: 5.656 kB / 0.5838 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.3664, allocations: 41.22 kB / 0.5838 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009433/0.3673, allocations: 1.406 MB / 0.5852 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.3674, allocations: 4.281 kB / 0.5852 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.3674, allocations: 1.281 kB / 0.5852 GB, free: 23.92 MB / 446.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 (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.778e-05/0.3674, allocations: 111 kB / 0.5853 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.3674, allocations: 5.344 kB / 0.5853 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.144e-05/0.3674, allocations: 3.828 kB / 0.5853 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3675, allocations: 5.703 kB / 0.5853 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.3675, allocations: 0 / 0.5853 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3675, allocations: 6.234 kB / 0.5853 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.126e-05/0.3675, allocations: 152 kB / 0.5855 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3675, allocations: 0.9062 kB / 0.5855 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.3679, allocations: 54.61 kB / 0.5855 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3679, allocations: 0 / 0.5855 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3679, allocations: 1.75 kB / 0.5855 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/0.3687, allocations: 1.405 MB / 0.5869 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3687, allocations: 0.5 kB / 0.5869 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.525e-05/0.3688, allocations: 78.67 kB / 0.587 GB, free: 22.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.3688, allocations: 87.53 kB / 0.5871 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.3688, allocations: 5.156 kB / 0.5871 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.644e-05/0.3688, allocations: 9.5 kB / 0.5871 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.3689, allocations: 1.438 kB / 0.5871 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3689, allocations: 4.781 kB / 0.5871 GB, free: 21.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.007e-05/0.3689, allocations: 76.78 kB / 0.5871 GB, free: 21.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3689, allocations: 1.719 kB / 0.5871 GB, free: 21.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.3691, allocations: 2.406 kB / 0.5871 GB, free: 21.82 MB / 446.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 (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 9.278e-05/0.3692, allocations: 101.7 kB / 0.5872 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004212/0.3696, allocations: 62.48 kB / 0.5873 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.3696, allocations: 1.812 kB / 0.5873 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3698, allocations: 42.17 kB / 0.5873 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.37, allocations: 3.562 kB / 0.5874 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.3702, allocations: 99.94 kB / 0.5874 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.911e-05/0.3703, allocations: 0.6765 MB / 0.5881 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.758e-05/0.3704, allocations: 3.5 kB / 0.5881 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.3704, allocations: 11.06 kB / 0.5881 GB, free: 20.88 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3704, allocations: 0.6562 kB / 0.5881 GB, free: 20.88 MB / 446.1 MB Notification: Performance of Templates: time 0.002182/0.3726, allocations: 409.7 kB / 0.5885 GB, free: 20.68 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)