Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.00157/0.00157, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8034/0.8034, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 71.88 kB / 0.5067 GB, free: 7.641 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3374, allocations: 80.9 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002712/0.3402, allocations: 1.43 MB / 0.5872 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.3405, allocations: 91.14 kB / 0.5872 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.3405, allocations: 1.375 kB / 0.5872 GB, free: 24.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.3406, allocations: 3.938 kB / 0.5872 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.126e-05/0.3407, allocations: 5.031 kB / 0.5872 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.3409, allocations: 22.31 kB / 0.5873 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.3409, allocations: 29.14 kB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.3411, allocations: 4.031 kB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.592e-05/0.3411, allocations: 11.89 kB / 0.5873 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.3412, allocations: 15.39 kB / 0.5873 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3412, allocations: 4 kB / 0.5873 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.3412, allocations: 16.61 kB / 0.5873 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.3413, allocations: 1.188 kB / 0.5873 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.3413, allocations: 14.02 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.3414, allocations: 33.44 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3414, allocations: 1.125 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3414, allocations: 0.8438 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3414, allocations: 0 / 0.5874 GB, free: 24.29 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.0003714/0.3418, allocations: 342.6 kB / 0.5877 GB, free: 23.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3419, allocations: 9.953 kB / 0.5877 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.342, allocations: 24.75 kB / 0.5878 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.661e-05/0.3421, allocations: 170.6 kB / 0.5879 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3422, allocations: 6.344 kB / 0.5879 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3422, allocations: 1.594 kB / 0.5879 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3424, allocations: 62.33 kB / 0.588 GB, free: 23.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.3424, allocations: 4.172 kB / 0.588 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3424, allocations: 5.281 kB / 0.588 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3424, allocations: 0.6562 kB / 0.588 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.3426, allocations: 52.45 kB / 0.588 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.3429, allocations: 261.3 kB / 0.5883 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3431, allocations: 51.33 kB / 0.5883 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.3432, allocations: 26.56 kB / 0.5884 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.3433, allocations: 2.5 kB / 0.5884 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.3433, allocations: 39.64 kB / 0.5884 GB, free: 23.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.3433, allocations: 0 / 0.5884 GB, free: 23.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000405/0.3437, allocations: 111.1 kB / 0.5885 GB, free: 23.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.3437, allocations: 51.41 kB / 0.5886 GB, free: 23.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.653e-05/0.3438, allocations: 102.7 kB / 0.5887 GB, free: 23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-06/0.3438, allocations: 26.86 kB / 0.5887 GB, free: 22.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.3438, allocations: 89.44 kB / 0.5888 GB, free: 22.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.3439, allocations: 5.188 kB / 0.5888 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.3439, allocations: 17 kB / 0.5888 GB, free: 22.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.3439, allocations: 311.8 kB / 0.5891 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.344, allocations: 25.75 kB / 0.5891 GB, free: 22.53 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/0.3441, allocations: 29 kB / 0.5891 GB, free: 22.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.3443, allocations: 51.16 kB / 0.5892 GB, free: 22.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3443, allocations: 0 / 0.5892 GB, free: 22.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002178/0.3446, allocations: 85.78 kB / 0.5893 GB, free: 22.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3446, allocations: 5.25 kB / 0.5893 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3446, allocations: 1.562 kB / 0.5893 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3446, allocations: 1.312 kB / 0.5893 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3447, allocations: 11.61 kB / 0.5893 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3447, allocations: 0 / 0.5893 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.3448, allocations: 9.422 kB / 0.5893 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3448, allocations: 1.344 kB / 0.5893 GB, free: 22.43 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.3449, allocations: 119.3 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.3449, allocations: 6.578 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.3449, allocations: 3.531 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3449, allocations: 5.156 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3449, allocations: 0 / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.345, allocations: 1.344 kB / 0.5894 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.3451, allocations: 168 kB / 0.5896 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3451, allocations: 256 / 0.5896 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.3452, allocations: 16.48 kB / 0.5896 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3452, allocations: 0 / 0.5896 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3452, allocations: 6.938 kB / 0.5896 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3452, allocations: 0 / 0.5896 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3452, allocations: 0 / 0.5896 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.3455, allocations: 182.3 kB / 0.5898 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.3455, allocations: 78.36 kB / 0.5899 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3455, allocations: 5.562 kB / 0.5899 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.932e-05/0.3456, allocations: 8.172 kB / 0.5899 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3456, allocations: 2.531 kB / 0.5899 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3457, allocations: 0 / 0.5899 GB, free: 21.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.661e-05/0.3457, allocations: 85.27 kB / 0.59 GB, free: 21.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3457, allocations: 0 / 0.59 GB, free: 21.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.3459, allocations: 11.12 kB / 0.59 GB, free: 21.73 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.9e-05/0.346, allocations: 94.41 kB / 0.5901 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.3463, allocations: 55.83 kB / 0.5901 GB, free: 21.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3463, allocations: 0 / 0.5901 GB, free: 21.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.847e-05/0.3464, allocations: 28.16 kB / 0.5901 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3466, allocations: 9 kB / 0.5901 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.3469, allocations: 121.3 kB / 0.5903 GB, free: 21.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.347, allocations: 0.6783 MB / 0.5909 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.3471, allocations: 6.469 kB / 0.5909 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.3471, allocations: 12.16 kB / 0.5909 GB, free: 20.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3471, allocations: 1.438 kB / 0.5909 GB, free: 20.77 MB / 446.1 MB Notification: Performance of Templates: time 0.002524/0.3496, allocations: 0.5903 MB / 0.5915 GB, free: 20.29 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)