Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008182, allocations: 100.3 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.0008734/0.0008734, 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.212/1.212, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8316/0.8316, allocations: 135.2 MB / 426.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002697, allocations: 12.59 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1478, allocations: 82.31 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.000621/0.1485, allocations: 303.1 kB / 0.5875 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001828/0.1487, allocations: 43.84 kB / 0.5875 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-06/0.1487, allocations: 0 / 0.5875 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.1487, allocations: 4 kB / 0.5875 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.617e-06/0.1488, allocations: 0 / 0.5875 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.1489, allocations: 11.98 kB / 0.5875 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.891e-05/0.149, allocations: 3.984 kB / 0.5876 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.149, allocations: 0 / 0.5876 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.196e-05/0.149, allocations: 7.984 kB / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.867e-05/0.1491, allocations: 0 / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-06/0.1491, allocations: 0 / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.011e-05/0.1491, allocations: 23.86 kB / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-06/0.1492, allocations: 4 kB / 0.5876 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.1492, allocations: 29.7 kB / 0.5876 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.014e-05/0.1492, allocations: 15.92 kB / 0.5876 GB, free: 2.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.1492, allocations: 0 / 0.5876 GB, free: 2.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1493, allocations: 0 / 0.5876 GB, free: 2.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1493, allocations: 0 / 0.5876 GB, free: 2.648 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.0002324/0.1495, allocations: 311.4 kB / 0.5879 GB, free: 2.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1495, allocations: 12.02 kB / 0.5879 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.1498, allocations: 19.95 kB / 0.588 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.048e-05/0.1499, allocations: 167 kB / 0.5881 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1499, allocations: 0 / 0.5881 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.1499, allocations: 4 kB / 0.5881 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.15, allocations: 33.69 kB / 0.5882 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.15, allocations: 0 / 0.5882 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.15, allocations: 0 / 0.5882 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.15, allocations: 0 / 0.5882 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.1501, allocations: 7.984 kB / 0.5882 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.1503, allocations: 161.6 kB / 0.5883 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.1503, allocations: 18.61 kB / 0.5883 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1504, allocations: 4.062 kB / 0.5883 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.1504, allocations: 30.56 kB / 0.5884 GB, free: 1.734 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1504, allocations: 0 / 0.5884 GB, free: 1.734 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002029/0.1506, allocations: 57.61 kB / 0.5884 GB, free: 1.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.1507, allocations: 51.41 kB / 0.5885 GB, free: 1.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.922e-05/0.1507, allocations: 89.86 kB / 0.5886 GB, free: 1.512 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.1507, allocations: 25.7 kB / 0.5886 GB, free: 1.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.1507, allocations: 80.14 kB / 0.5887 GB, free: 1.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1508, allocations: 3.906 kB / 0.5887 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1508, allocations: 0 / 0.5887 GB, free: 1.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.1509, allocations: 310.8 kB / 0.589 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.13e-05/0.1509, allocations: 12.11 kB / 0.589 GB, free: 1.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.247e-05/0.151, allocations: 4 kB / 0.589 GB, free: 1.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.151, allocations: 11.98 kB / 0.589 GB, free: 1.055 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.151, allocations: 3.938 kB / 0.589 GB, free: 1.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000102/0.1511, allocations: 41.64 kB / 0.589 GB, free: 1.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1511, allocations: 8 kB / 0.589 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1512, allocations: 96 / 0.589 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1512, allocations: 4 kB / 0.589 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.1512, allocations: 7.922 kB / 0.589 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1512, allocations: 4 kB / 0.589 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.1513, allocations: 0 / 0.589 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1513, allocations: 3.938 kB / 0.5891 GB, free: 0.9766 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.475e-05/0.1514, allocations: 105.8 kB / 0.5892 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.1514, allocations: 7.953 kB / 0.5892 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.1514, allocations: 11.12 kB / 0.5892 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1514, allocations: 3.984 kB / 0.5892 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.1514, allocations: 0 / 0.5892 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1514, allocations: 0 / 0.5892 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.406e-05/0.1515, allocations: 149.7 kB / 0.5893 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1515, allocations: 0 / 0.5893 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.1516, allocations: 7.984 kB / 0.5893 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1516, allocations: 3.953 kB / 0.5893 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1516, allocations: 0 / 0.5893 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1516, allocations: 4 kB / 0.5893 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1516, allocations: 0 / 0.5893 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.1517, allocations: 61.12 kB / 0.5894 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.1518, allocations: 85.03 kB / 0.5895 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1518, allocations: 3.953 kB / 0.5895 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.977e-05/0.1518, allocations: 8 kB / 0.5895 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-06/0.1518, allocations: 0 / 0.5895 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.1518, allocations: 0 / 0.5895 GB, free: 448 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.276e-05/0.1519, allocations: 83.31 kB / 0.5896 GB, free: 364 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1519, allocations: 0 / 0.5896 GB, free: 364 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001631/0.152, allocations: 4 kB / 0.5896 GB, free: 360 kB / 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 0.000105/0.1522, allocations: 95.25 kB / 0.5897 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.1523, allocations: 11.98 kB / 0.5897 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1523, allocations: 0 / 0.5897 GB, free: 240 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.1523, allocations: 12.05 kB / 0.5897 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.401e-05/0.1524, allocations: 288 / 0.5897 GB, free: 228 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.1526, allocations: 95.98 kB / 0.5898 GB, free: 108 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.1529, allocations: 0.677 MB / 0.5904 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.1529, allocations: 8.047 kB / 0.5904 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.1529, allocations: 7.438 kB / 0.5904 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.153, allocations: 0 / 0.5904 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.001568/0.1545, allocations: 215.8 kB / 0.5907 GB, free: 15.18 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: