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.001343/0.001342, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001562/0.001562, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8112/0.8112, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.28 kB / 0.5013 GB, free: 9.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2174, allocations: 80.21 MB / 0.5796 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002353/0.2198, allocations: 0.6426 MB / 0.5802 GB, free: 8.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003543/0.2202, allocations: 103.7 kB / 0.5803 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.2202, allocations: 0 / 0.5803 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.2202, allocations: 0 / 0.5803 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.792e-05/0.2203, allocations: 0 / 0.5803 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.2206, allocations: 15.98 kB / 0.5804 GB, free: 8.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.32e-05/0.2206, allocations: 7.984 kB / 0.5804 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.601e-05/0.2207, allocations: 0 / 0.5804 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.558e-05/0.2207, allocations: 0 / 0.5804 GB, free: 8.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.2208, allocations: 11.94 kB / 0.5804 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2208, allocations: 0 / 0.5804 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.2209, allocations: 15.98 kB / 0.5804 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.2209, allocations: 7.938 kB / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.221, allocations: 0 / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.2211, allocations: 23.89 kB / 0.5804 GB, free: 8.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2211, allocations: 0 / 0.5804 GB, free: 8.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2211, allocations: 0 / 0.5804 GB, free: 8.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2211, allocations: 0 / 0.5804 GB, free: 8.277 MB / 494.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.0003585/0.2214, allocations: 315.6 kB / 0.5807 GB, free: 7.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.2215, allocations: 16.02 kB / 0.5807 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.2217, allocations: 12.92 kB / 0.5807 GB, free: 7.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.684e-05/0.2218, allocations: 160.4 kB / 0.5809 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2218, allocations: 384 / 0.5809 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.2218, allocations: 4.375 kB / 0.5809 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.222, allocations: 38.25 kB / 0.5809 GB, free: 7.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.222, allocations: 192 / 0.5809 GB, free: 7.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.222, allocations: 3.938 kB / 0.5809 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2221, allocations: 7.922 kB / 0.581 GB, free: 7.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.2222, allocations: 19.92 kB / 0.581 GB, free: 7.617 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.2223, allocations: 153.7 kB / 0.5811 GB, free: 7.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.2225, allocations: 42.61 kB / 0.5812 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.2226, allocations: 16.91 kB / 0.5812 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.2226, allocations: 0 / 0.5812 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2226, allocations: 34.56 kB / 0.5812 GB, free: 7.305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.2226, allocations: 0 / 0.5812 GB, free: 7.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002213/0.2229, allocations: 69.45 kB / 0.5813 GB, free: 7.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.2229, allocations: 51.41 kB / 0.5813 GB, free: 7.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.816e-05/0.223, allocations: 89.86 kB / 0.5814 GB, free: 7.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.223, allocations: 25.7 kB / 0.5814 GB, free: 7.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.223, allocations: 80.14 kB / 0.5815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.2231, allocations: 12.12 kB / 0.5815 GB, free: 6.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.2231, allocations: 21.7 kB / 0.5815 GB, free: 6.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2232, allocations: 314.8 kB / 0.5818 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.2233, allocations: 4 kB / 0.5818 GB, free: 6.598 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.2233, allocations: 11.98 kB / 0.5819 GB, free: 6.586 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.827e-05/0.2234, allocations: 20.84 kB / 0.5819 GB, free: 6.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2234, allocations: 3.938 kB / 0.5819 GB, free: 6.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001068/0.2235, allocations: 49.62 kB / 0.5819 GB, free: 6.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2235, allocations: 8 kB / 0.5819 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2235, allocations: 0 / 0.5819 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2236, allocations: 7.938 kB / 0.5819 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.224, allocations: 35.94 kB / 0.582 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.2254, allocations: 1.404 MB / 0.5834 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.2254, allocations: 8.359 kB / 0.5834 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2254, allocations: 0 / 0.5834 GB, free: 4.898 MB / 494.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 0.0001106/0.2256, allocations: 114.4 kB / 0.5835 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-06/0.2256, allocations: 4.062 kB / 0.5835 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.2256, allocations: 15.48 kB / 0.5835 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2256, allocations: 0 / 0.5835 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2256, allocations: 0 / 0.5835 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2256, allocations: 0 / 0.5835 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.2258, allocations: 153.6 kB / 0.5836 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2258, allocations: 0 / 0.5836 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003612/0.2262, allocations: 51.94 kB / 0.5837 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2262, allocations: 0 / 0.5837 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.2262, allocations: 3.984 kB / 0.5837 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.2274, allocations: 1.404 MB / 0.5851 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2274, allocations: 0 / 0.5851 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.2276, allocations: 74.84 kB / 0.5851 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.2276, allocations: 81.05 kB / 0.5852 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.2276, allocations: 7.938 kB / 0.5852 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.528e-05/0.2277, allocations: 0 / 0.5852 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.2277, allocations: 12.05 kB / 0.5852 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2277, allocations: 4 kB / 0.5852 GB, free: 2.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.034e-05/0.2277, allocations: 75.28 kB / 0.5853 GB, free: 2.676 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2277, allocations: 0 / 0.5853 GB, free: 2.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001996/0.2279, allocations: 4 kB / 0.5853 GB, free: 2.672 MB / 494.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 0.0001584/0.2281, allocations: 95.25 kB / 0.5854 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.2286, allocations: 63.91 kB / 0.5855 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2286, allocations: 0 / 0.5855 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002349/0.2289, allocations: 39.89 kB / 0.5855 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.229, allocations: 10.61 kB / 0.5855 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.2295, allocations: 108.8 kB / 0.5856 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.2298, allocations: 0.6729 MB / 0.5863 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.755e-05/0.2298, allocations: 240 / 0.5863 GB, free: 1.629 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.2298, allocations: 15.42 kB / 0.5863 GB, free: 1.617 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2298, allocations: 0 / 0.5863 GB, free: 1.617 MB / 494.1 MB Notification: Performance of Templates: time 0.002532/0.2324, allocations: 411.7 kB / 0.5867 GB, free: 1.219 MB / 494.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)