Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008568, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008495/0.0008495, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8961/0.8961, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003252, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1405, allocations: 82.3 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0007347/0.1412, allocations: 315.5 kB / 0.5875 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 3.668e-05/0.1413, allocations: 4 kB / 0.5875 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.211e-05/0.1413, allocations: 0 / 0.5875 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1413, allocations: 0 / 0.5875 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.1413, allocations: 0 / 0.5875 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.172e-05/0.1414, allocations: 4 kB / 0.5875 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.883e-05/0.1414, allocations: 4 kB / 0.5875 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.1415, allocations: 0 / 0.5875 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.216e-05/0.1415, allocations: 0 / 0.5875 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.787e-05/0.1415, allocations: 3.984 kB / 0.5875 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.1415, allocations: 0 / 0.5875 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.524e-06/0.1415, allocations: 0 / 0.5875 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.1415, allocations: 0 / 0.5875 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.1416, allocations: 29.7 kB / 0.5875 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.18e-05/0.1416, allocations: 3.938 kB / 0.5875 GB, free: 2.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1416, allocations: 4 kB / 0.5875 GB, free: 2.766 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1416, allocations: 0 / 0.5875 GB, free: 2.766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1416, allocations: 0 / 0.5875 GB, free: 2.766 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002654/0.1419, allocations: 307.4 kB / 0.5878 GB, free: 2.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1419, allocations: 12.03 kB / 0.5878 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.142, allocations: 0 / 0.5878 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.279e-05/0.1421, allocations: 167 kB / 0.588 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1421, allocations: 4 kB / 0.588 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1421, allocations: 0 / 0.588 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1422, allocations: 29.7 kB / 0.588 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.1422, allocations: 0 / 0.588 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1422, allocations: 0 / 0.588 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1422, allocations: 4 kB / 0.588 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.333e-05/0.1423, allocations: 3.938 kB / 0.588 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.1424, allocations: 149.6 kB / 0.5882 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.155e-05/0.1424, allocations: 26.55 kB / 0.5882 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.1425, allocations: 0 / 0.5882 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1425, allocations: 34.56 kB / 0.5882 GB, free: 1.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.1425, allocations: 0 / 0.5882 GB, free: 1.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001096/0.1426, allocations: 29.77 kB / 0.5883 GB, free: 1.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.1426, allocations: 51.41 kB / 0.5883 GB, free: 1.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.1427, allocations: 93.84 kB / 0.5884 GB, free: 1.684 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1427, allocations: 29.77 kB / 0.5884 GB, free: 1.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.1427, allocations: 88.14 kB / 0.5885 GB, free: 1.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.1428, allocations: 3.906 kB / 0.5885 GB, free: 1.555 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-06/0.1428, allocations: 0 / 0.5885 GB, free: 1.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1429, allocations: 314.8 kB / 0.5888 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-06/0.1429, allocations: 0 / 0.5888 GB, free: 1.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.1429, allocations: 0 / 0.5888 GB, free: 1.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.682e-05/0.1429, allocations: 4 kB / 0.5888 GB, free: 1.234 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1429, allocations: 0 / 0.5888 GB, free: 1.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.58e-05/0.143, allocations: 37.72 kB / 0.5889 GB, free: 1.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.143, allocations: 4 kB / 0.5889 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.143, allocations: 0 / 0.5889 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.143, allocations: 4 kB / 0.5889 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.801e-05/0.1431, allocations: 3.984 kB / 0.5889 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1431, allocations: 0 / 0.5889 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.068e-05/0.1431, allocations: 4 kB / 0.5889 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1431, allocations: 0 / 0.5889 GB, free: 1.176 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 (1): * Single equations (assignments): 1 * 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 6.393e-05/0.1432, allocations: 117.8 kB / 0.589 GB, free: 1.051 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.1432, allocations: 7.984 kB / 0.589 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.471e-05/0.1432, allocations: 11.06 kB / 0.589 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1432, allocations: 0 / 0.589 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1432, allocations: 0 / 0.589 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.1433, allocations: 0 / 0.589 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.17e-05/0.1434, allocations: 149.7 kB / 0.5892 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1434, allocations: 0 / 0.5892 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.1434, allocations: 0 / 0.5892 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1434, allocations: 3.953 kB / 0.5892 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.1434, allocations: 3.938 kB / 0.5892 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1434, allocations: 3.984 kB / 0.5892 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1434, allocations: 4 kB / 0.5892 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.838e-05/0.1435, allocations: 61.12 kB / 0.5892 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.1435, allocations: 81.09 kB / 0.5893 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.1435, allocations: 3.953 kB / 0.5893 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-06/0.1435, allocations: 0 / 0.5893 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.1436, allocations: 4 kB / 0.5893 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/0.1436, allocations: 3.938 kB / 0.5893 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.226e-05/0.1436, allocations: 79.31 kB / 0.5894 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1436, allocations: 0 / 0.5894 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001729/0.1438, allocations: 0 / 0.5894 GB, free: 0.5547 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 (1): * Single equations (assignments): 1 * 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 8.515e-05/0.1439, allocations: 91.53 kB / 0.5895 GB, free: 464 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.924e-05/0.1439, allocations: 4 kB / 0.5895 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1439, allocations: 0 / 0.5895 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-06/0.1439, allocations: 4 kB / 0.5895 GB, free: 456 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.627e-05/0.144, allocations: 4.125 kB / 0.5895 GB, free: 452 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001372/0.1442, allocations: 85.06 kB / 0.5896 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1444, allocations: 0.6731 MB / 0.5902 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.127e-05/0.1444, allocations: 3.984 kB / 0.5902 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.24e-05/0.1444, allocations: 7.438 kB / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.653e-06/0.1444, allocations: 0 / 0.5902 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.001431/0.1459, allocations: 144.4 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: