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.001108/0.001108, allocations: 104 kB / 16.27 MB, free: 5.934 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.001126/0.001126, allocations: 188.3 kB / 17.19 MB, free: 5.574 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7929/0.7929, allocations: 132.2 MB / 423.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.355, allocations: 80.18 MB / 0.5807 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001548/0.3566, allocations: 0.588 MB / 0.5813 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.3569, allocations: 95 kB / 0.5814 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.3569, allocations: 1.156 kB / 0.5814 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.3569, allocations: 3.938 kB / 0.5814 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.357, allocations: 0 / 0.5814 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.3572, allocations: 20.08 kB / 0.5814 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.51e-05/0.3572, allocations: 3.75 kB / 0.5814 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.3573, allocations: 1.594 kB / 0.5814 GB, free: 26.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.3573, allocations: 9.984 kB / 0.5815 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.3574, allocations: 11.55 kB / 0.5815 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3574, allocations: 0 / 0.5815 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.3575, allocations: 14.89 kB / 0.5815 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.3575, allocations: 1.781 kB / 0.5815 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.3575, allocations: 1.125 kB / 0.5815 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.537e-05/0.3576, allocations: 18.42 kB / 0.5815 GB, free: 26.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3576, allocations: 4 kB / 0.5815 GB, free: 26.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3576, allocations: 2.781 kB / 0.5815 GB, free: 26.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3576, allocations: 1.219 kB / 0.5815 GB, free: 26.85 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.0002886/0.3579, allocations: 312.7 kB / 0.5818 GB, free: 26.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.358, allocations: 9.781 kB / 0.5818 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.3581, allocations: 14.17 kB / 0.5818 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.222e-05/0.3582, allocations: 165.2 kB / 0.582 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3582, allocations: 1.75 kB / 0.582 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.3583, allocations: 6.188 kB / 0.582 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.3584, allocations: 39.47 kB / 0.582 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3584, allocations: 1.562 kB / 0.582 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3584, allocations: 5.562 kB / 0.582 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-06/0.3584, allocations: 0 / 0.582 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.3585, allocations: 16.08 kB / 0.5821 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001015/0.3586, allocations: 153.3 kB / 0.5822 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.3588, allocations: 44 kB / 0.5822 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.3588, allocations: 9.297 kB / 0.5822 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3588, allocations: 10.52 kB / 0.5823 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.257e-05/0.3589, allocations: 30.56 kB / 0.5823 GB, free: 25.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/0.3589, allocations: 0.8125 kB / 0.5823 GB, free: 25.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002054/0.3591, allocations: 60.86 kB / 0.5823 GB, free: 25.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.3591, allocations: 52.31 kB / 0.5824 GB, free: 25.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.78e-05/0.3591, allocations: 92.77 kB / 0.5825 GB, free: 25.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.3591, allocations: 25.7 kB / 0.5825 GB, free: 25.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.001e-05/0.3592, allocations: 80.14 kB / 0.5826 GB, free: 25.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3592, allocations: 8.625 kB / 0.5826 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.3592, allocations: 20.98 kB / 0.5826 GB, free: 25.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.046e-05/0.3593, allocations: 312.2 kB / 0.5829 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.3593, allocations: 4.219 kB / 0.5829 GB, free: 25.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.3594, allocations: 16.73 kB / 0.5829 GB, free: 25.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.386e-05/0.3594, allocations: 26.62 kB / 0.583 GB, free: 25.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3595, allocations: 0 / 0.583 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001003/0.3596, allocations: 46.91 kB / 0.583 GB, free: 25.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3596, allocations: 9.438 kB / 0.583 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3596, allocations: 0 / 0.583 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3596, allocations: 7.969 kB / 0.583 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.36, allocations: 42.89 kB / 0.5831 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009481/0.3609, allocations: 1.4 MB / 0.5844 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.361, allocations: 5.359 kB / 0.5844 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.361, allocations: 3.344 kB / 0.5844 GB, free: 23.71 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 5.014e-05/0.3611, allocations: 110.8 kB / 0.5845 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.3611, allocations: 1.438 kB / 0.5845 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.3611, allocations: 8.219 kB / 0.5846 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3611, allocations: 1.469 kB / 0.5846 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.3611, allocations: 0.625 kB / 0.5846 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3611, allocations: 4 kB / 0.5846 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.543e-05/0.3612, allocations: 162.3 kB / 0.5847 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3612, allocations: 3.938 kB / 0.5847 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.3615, allocations: 49.84 kB / 0.5848 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.3616, allocations: 2.844 kB / 0.5848 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3616, allocations: 0 / 0.5848 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008094/0.3624, allocations: 1.406 MB / 0.5861 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3624, allocations: 3.938 kB / 0.5861 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.3625, allocations: 71.64 kB / 0.5862 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.3625, allocations: 82.36 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-06/0.3625, allocations: 5.312 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.851e-05/0.3626, allocations: 13.55 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.3626, allocations: 2.562 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3626, allocations: 1.125 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.138e-05/0.3626, allocations: 75.28 kB / 0.5864 GB, free: 21.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3626, allocations: 1.312 kB / 0.5864 GB, free: 21.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001927/0.3628, allocations: 3.719 kB / 0.5864 GB, free: 21.62 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.879e-05/0.3629, allocations: 97.88 kB / 0.5865 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.3634, allocations: 67.25 kB / 0.5865 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3634, allocations: 0 / 0.5865 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.3638, allocations: 58.95 kB / 0.5866 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.3639, allocations: 4.625 kB / 0.5866 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.3643, allocations: 121.2 kB / 0.5867 GB, free: 21.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.08e-05/0.3644, allocations: 0.6795 MB / 0.5874 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.3644, allocations: 8.469 kB / 0.5874 GB, free: 20.63 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3644, allocations: 0 / 0.5874 GB, free: 20.63 MB / 446.1 MB Notification: Performance of Templates: time 0.002026/0.3664, allocations: 0.5972 MB / 0.588 GB, free: 20.35 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)