Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007346/0.007346, allocations: 170.8 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.875/0.875, allocations: 135.2 MB / 151.1 MB, free: 13.86 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.437/1.437, allocations: 223.2 MB / 406.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009129/0.000913, allocations: 97.03 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003867, allocations: 11.98 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4245/0.425, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1418/0.5668, allocations: 111.7 MB / 0.7586 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.5671, allocations: 83.95 kB / 0.7587 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003332/0.5704, allocations: 1.118 MB / 0.7597 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5705, allocations: 0 / 0.7597 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5705, allocations: 0 / 0.7597 GB, free: 3.105 MB / 0.5261 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.0003954/0.5709, allocations: 355.2 kB / 0.7601 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5709, allocations: 8.031 kB / 0.7601 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.987e-05/0.571, allocations: 4 kB / 0.7601 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.5711, allocations: 163 kB / 0.7602 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5711, allocations: 0 / 0.7602 GB, free: 2.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.5711, allocations: 4 kB / 0.7603 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.5713, allocations: 61.61 kB / 0.7603 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5713, allocations: 0 / 0.7603 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.5713, allocations: 0 / 0.7603 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5714, allocations: 3.984 kB / 0.7603 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.5715, allocations: 51.95 kB / 0.7604 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.572, allocations: 276.7 kB / 0.7606 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.5721, allocations: 46.56 kB / 0.7607 GB, free: 2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.5722, allocations: 77.11 kB / 0.7607 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.5723, allocations: 46.48 kB / 0.7608 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.5723, allocations: 0 / 0.7608 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.00035/0.5726, allocations: 93.66 kB / 0.7609 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.5727, allocations: 55.39 kB / 0.7609 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.5728, allocations: 97 kB / 0.761 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.5728, allocations: 25.7 kB / 0.761 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.5728, allocations: 80.14 kB / 0.7611 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.5729, allocations: 7.906 kB / 0.7611 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.5729, allocations: 4.125 kB / 0.7611 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.573, allocations: 322.8 kB / 0.7614 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.5731, allocations: 15.98 kB / 0.7615 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.5732, allocations: 27.92 kB / 0.7615 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.5733, allocations: 24.05 kB / 0.7615 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5733, allocations: 0 / 0.7615 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001931/0.5735, allocations: 81.66 kB / 0.7616 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.5735, allocations: 4 kB / 0.7616 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5735, allocations: 0 / 0.7616 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5735, allocations: 0 / 0.7616 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.5736, allocations: 11.98 kB / 0.7616 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5736, allocations: 3.984 kB / 0.7616 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.5737, allocations: 11.98 kB / 0.7616 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.5737, allocations: 0 / 0.7616 GB, free: 0.9531 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.5738, allocations: 117.8 kB / 0.7617 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.5738, allocations: 0 / 0.7617 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.574, allocations: 92.88 kB / 0.7618 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5741, allocations: 0 / 0.7618 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5741, allocations: 4.031 kB / 0.7618 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5741, allocations: 0 / 0.7618 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.5743, allocations: 165.5 kB / 0.762 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5743, allocations: 4 kB / 0.762 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.5743, allocations: 11.98 kB / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5743, allocations: 0 / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5744, allocations: 0 / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5744, allocations: 0 / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5744, allocations: 0 / 0.762 GB, free: 0.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.5746, allocations: 187.3 kB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.5747, allocations: 77.11 kB / 0.7622 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.5747, allocations: 0 / 0.7622 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.5748, allocations: 16.02 kB / 0.7623 GB, free: 196 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.5748, allocations: 4 kB / 0.7623 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.5749, allocations: 0 / 0.7623 GB, free: 192 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.683e-05/0.5749, allocations: 79.28 kB / 0.7623 GB, free: 112 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.5749, allocations: 0 / 0.7623 GB, free: 112 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002056/0.5751, allocations: 12 kB / 0.7624 GB, free: 100 kB / 0.5261 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 () * 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 (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.0001742/0.5753, allocations: 103.2 kB / 0.7625 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.5755, allocations: 51.97 kB / 0.7625 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5755, allocations: 0 / 0.7625 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.185e-05/0.5756, allocations: 31.97 kB / 0.7625 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.5758, allocations: 4 kB / 0.7625 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.5761, allocations: 112.7 kB / 0.7626 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.5764, allocations: 0.677 MB / 0.7633 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.5764, allocations: 0 / 0.7633 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.5764, allocations: 11.44 kB / 0.7633 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/0.5764, allocations: 4.062 kB / 0.7633 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of Templates: time 0.002347/0.5788, allocations: 478 kB / 0.7638 GB, free: 14.59 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)