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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009534/0.0009536, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7302/0.7302, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 97.89 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.731e-05, allocations: 3.562 kB / 0.56 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1744, allocations: 82.31 MB / 0.6404 GB, free: 7.832 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6613/0.8357, allocations: 111.2 MB / 0.749 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.836, allocations: 72.14 kB / 0.7491 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003047/0.8391, allocations: 0.7839 MB / 0.7499 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8391, allocations: 1.859 kB / 0.7499 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.8391, allocations: 0 / 0.7499 GB, free: 27.57 MB / 0.5105 GB 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.0004048/0.8396, allocations: 339.7 kB / 0.7502 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.8396, allocations: 7.844 kB / 0.7502 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.8398, allocations: 21.59 kB / 0.7502 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.84, allocations: 163 kB / 0.7504 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.84, allocations: 3.875 kB / 0.7504 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.84, allocations: 0 / 0.7504 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.8402, allocations: 49.44 kB / 0.7504 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.8402, allocations: 0 / 0.7504 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.8402, allocations: 7.375 kB / 0.7504 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8402, allocations: 0 / 0.7504 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.927e-05/0.8403, allocations: 11.22 kB / 0.7504 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.8408, allocations: 276 kB / 0.7507 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.8409, allocations: 41.67 kB / 0.7507 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.841, allocations: 12.52 kB / 0.7508 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.841, allocations: 3.938 kB / 0.7508 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.8411, allocations: 35.42 kB / 0.7508 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.8411, allocations: 0 / 0.7508 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002023/0.8413, allocations: 50.81 kB / 0.7508 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.8413, allocations: 51.41 kB / 0.7509 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.8414, allocations: 99.11 kB / 0.751 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.8415, allocations: 29.7 kB / 0.751 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.8415, allocations: 80.14 kB / 0.7511 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.8415, allocations: 11.34 kB / 0.7511 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.8416, allocations: 0 / 0.7511 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8417, allocations: 325.2 kB / 0.7514 GB, free: 26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.424e-05/0.8418, allocations: 11.53 kB / 0.7514 GB, free: 26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.8418, allocations: 7.5 kB / 0.7514 GB, free: 26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.8418, allocations: 7.5 kB / 0.7514 GB, free: 26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8418, allocations: 4 kB / 0.7514 GB, free: 26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.842, allocations: 47.25 kB / 0.7515 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.842, allocations: 4.719 kB / 0.7515 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.842, allocations: 0 / 0.7515 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.842, allocations: 0 / 0.7515 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.8422, allocations: 16.55 kB / 0.7515 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8422, allocations: 0 / 0.7515 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.585e-05/0.8423, allocations: 17.7 kB / 0.7515 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.8423, allocations: 3.875 kB / 0.7515 GB, free: 25.96 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.8424, allocations: 106.8 kB / 0.7516 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.8425, allocations: 2.719 kB / 0.7516 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.8425, allocations: 3.656 kB / 0.7516 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8425, allocations: 3.844 kB / 0.7516 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8426, allocations: 3.938 kB / 0.7516 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.8426, allocations: 3.984 kB / 0.7516 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.8428, allocations: 173.8 kB / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.8428, allocations: 1.75 kB / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.8429, allocations: 9.875 kB / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8429, allocations: 3.844 kB / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.8429, allocations: 2.391 kB / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8429, allocations: 0 / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.843, allocations: 0 / 0.7518 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.8431, allocations: 156 kB / 0.752 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.8432, allocations: 77.11 kB / 0.752 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.8432, allocations: 0 / 0.752 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.8434, allocations: 12.97 kB / 0.7521 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.8434, allocations: 3.781 kB / 0.7521 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.8434, allocations: 0 / 0.7521 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.176e-05/0.8435, allocations: 90.53 kB / 0.7521 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.072e-06/0.8435, allocations: 4.031 kB / 0.7522 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003437/0.8439, allocations: 7.812 kB / 0.7522 GB, free: 25.32 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001467/0.844, allocations: 95.12 kB / 0.7522 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.8442, allocations: 22.78 kB / 0.7523 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8442, allocations: 3.875 kB / 0.7523 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.472e-05/0.8442, allocations: 7.406 kB / 0.7523 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.8445, allocations: 11.31 kB / 0.7523 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.8449, allocations: 74.09 kB / 0.7524 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.8453, allocations: 0.6798 MB / 0.753 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.838e-05/0.8453, allocations: 0 / 0.753 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.8454, allocations: 11.38 kB / 0.753 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/0.8454, allocations: 3.906 kB / 0.753 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.003494/0.8489, allocations: 0.4962 MB / 0.7535 GB, free: 24.41 MB / 0.5105 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)