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.001096/0.001096, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001107/0.001107, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.765/0.765, allocations: 132.2 MB / 422.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 59.91 kB / 0.5019 GB, free: 11.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3522, allocations: 80.19 MB / 0.5802 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00167/0.354, allocations: 0.6568 MB / 0.5809 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002071/0.3542, allocations: 96.97 kB / 0.581 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.105e-05/0.3542, allocations: 0 / 0.581 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.3542, allocations: 0 / 0.581 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.3543, allocations: 0 / 0.581 GB, free: 26.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.3544, allocations: 18.84 kB / 0.581 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.029e-05/0.3545, allocations: 4.125 kB / 0.581 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.3545, allocations: 5.375 kB / 0.581 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.357e-05/0.3545, allocations: 1.375 kB / 0.581 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.3546, allocations: 8.969 kB / 0.581 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.3546, allocations: 0 / 0.581 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.387e-05/0.3546, allocations: 14.86 kB / 0.581 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.3546, allocations: 1.375 kB / 0.581 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.424e-05/0.3547, allocations: 5.359 kB / 0.581 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 4.5e-05/0.3547, allocations: 8.109 kB / 0.581 GB, free: 26.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3547, allocations: 0.5938 kB / 0.581 GB, free: 26.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3547, allocations: 0 / 0.581 GB, free: 26.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.3547, allocations: 1.438 kB / 0.581 GB, free: 26.3 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.000251/0.355, allocations: 322.4 kB / 0.5813 GB, free: 25.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.355, allocations: 10.72 kB / 0.5813 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.3552, allocations: 12.95 kB / 0.5813 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.053e-05/0.3553, allocations: 176.2 kB / 0.5815 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3553, allocations: 384 / 0.5815 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-06/0.3553, allocations: 1.75 kB / 0.5815 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.955e-05/0.3554, allocations: 43.73 kB / 0.5816 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3554, allocations: 192 / 0.5816 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3554, allocations: 3.938 kB / 0.5816 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3554, allocations: 2.094 kB / 0.5816 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.3555, allocations: 11.98 kB / 0.5816 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.238e-05/0.3556, allocations: 152.4 kB / 0.5817 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.3558, allocations: 46.88 kB / 0.5818 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.3558, allocations: 17.61 kB / 0.5818 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.3558, allocations: 0 / 0.5818 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.3559, allocations: 32.62 kB / 0.5818 GB, free: 25.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3559, allocations: 3.188 kB / 0.5818 GB, free: 25.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001852/0.356, allocations: 60.98 kB / 0.5819 GB, free: 25.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.3561, allocations: 56.59 kB / 0.5819 GB, free: 25.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.745e-05/0.3561, allocations: 89.86 kB / 0.582 GB, free: 25.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.3561, allocations: 25.7 kB / 0.582 GB, free: 25.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.3561, allocations: 80.14 kB / 0.5821 GB, free: 25.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.3562, allocations: 8.312 kB / 0.5821 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.3562, allocations: 17.78 kB / 0.5821 GB, free: 25.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.3563, allocations: 316.5 kB / 0.5824 GB, free: 24.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.3563, allocations: 8.578 kB / 0.5825 GB, free: 24.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.3563, allocations: 7.594 kB / 0.5825 GB, free: 24.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.578e-05/0.3564, allocations: 22.38 kB / 0.5825 GB, free: 24.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3564, allocations: 0 / 0.5825 GB, free: 24.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.186e-05/0.3565, allocations: 52.58 kB / 0.5825 GB, free: 24.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3565, allocations: 4.938 kB / 0.5825 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3565, allocations: 7.922 kB / 0.5825 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3566, allocations: 5.062 kB / 0.5825 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.3569, allocations: 43.12 kB / 0.5826 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009437/0.3579, allocations: 1.403 MB / 0.584 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.785e-05/0.3579, allocations: 6.406 kB / 0.584 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.3579, allocations: 5.219 kB / 0.584 GB, free: 23.15 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.959e-05/0.358, allocations: 112.3 kB / 0.5841 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.358, allocations: 1.719 kB / 0.5841 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.342e-05/0.358, allocations: 16.86 kB / 0.5841 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.358, allocations: 1.094 kB / 0.5841 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.358, allocations: 0 / 0.5841 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.358, allocations: 0 / 0.5841 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.366e-05/0.3581, allocations: 154.7 kB / 0.5842 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3581, allocations: 0 / 0.5842 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.3584, allocations: 48.95 kB / 0.5843 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3584, allocations: 1.938 kB / 0.5843 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.3585, allocations: 0 / 0.5843 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008134/0.3593, allocations: 1.412 MB / 0.5857 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3593, allocations: 0 / 0.5857 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.793e-05/0.3594, allocations: 72.05 kB / 0.5857 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.3594, allocations: 81.02 kB / 0.5858 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.592e-06/0.3594, allocations: 5.438 kB / 0.5858 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.3595, allocations: 2.406 kB / 0.5858 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.3595, allocations: 1.469 kB / 0.5858 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.3595, allocations: 11.05 kB / 0.5858 GB, free: 21.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.171e-05/0.3595, allocations: 79.22 kB / 0.5859 GB, free: 21.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3595, allocations: 0 / 0.5859 GB, free: 21.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001827/0.3597, allocations: 3.562 kB / 0.5859 GB, free: 21.06 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.019e-05/0.3598, allocations: 102 kB / 0.586 GB, free: 20.97 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004349/0.3602, allocations: 57.7 kB / 0.5861 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3602, allocations: 0 / 0.5861 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.3606, allocations: 61.44 kB / 0.5861 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.3608, allocations: 7.234 kB / 0.5861 GB, free: 20.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.361, allocations: 121.3 kB / 0.5863 GB, free: 20.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.3611, allocations: 0.676 MB / 0.5869 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.3611, allocations: 8.438 kB / 0.5869 GB, free: 20.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3612, allocations: 5.062 kB / 0.5869 GB, free: 20.07 MB / 446.1 MB Notification: Performance of Templates: time 0.001842/0.363, allocations: 0.5949 MB / 0.5875 GB, free: 19.79 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)