Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 106.3 kB / 16.41 MB, free: 6.473 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.001231/0.001231, allocations: 189.6 kB / 17.34 MB, free: 5.754 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.434/1.434, 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/package.mo): time 0.8158/0.8158, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 65.53 kB / 0.582 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.159, allocations: 80.21 MB / 0.6604 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001821/0.1609, allocations: 0.5828 MB / 0.6609 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.1624, allocations: 1.111 MB / 0.662 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1624, allocations: 0 / 0.662 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.244e-05/0.1625, allocations: 0 / 0.662 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1627, allocations: 19.92 kB / 0.662 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.691e-06/0.1627, allocations: 0 / 0.662 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.1628, allocations: 11.94 kB / 0.6621 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.1628, allocations: 3.984 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.1628, allocations: 0 / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.1629, allocations: 11.92 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.1629, allocations: 0 / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.163, allocations: 19.98 kB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.163, allocations: 0 / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.163, allocations: 3.938 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.007e-05/0.1631, allocations: 15.97 kB / 0.6621 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.1631, allocations: 7.938 kB / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1631, allocations: 0 / 0.6621 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1632, allocations: 0 / 0.6621 GB, free: 8.402 MB / 0.4981 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.0002947/0.1635, allocations: 315.6 kB / 0.6624 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1635, allocations: 8.031 kB / 0.6624 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.1635, allocations: 0.9375 kB / 0.6624 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.1636, allocations: 168.4 kB / 0.6626 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.1637, allocations: 4.375 kB / 0.6626 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1637, allocations: 384 / 0.6626 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.499e-05/0.1638, allocations: 41.98 kB / 0.6626 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1638, allocations: 0 / 0.6626 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.1638, allocations: 0 / 0.6626 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1638, allocations: 0 / 0.6626 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.1639, allocations: 8 kB / 0.6626 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.164, allocations: 153.6 kB / 0.6628 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.1642, allocations: 38.61 kB / 0.6628 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.1643, allocations: 12.8 kB / 0.6628 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.1644, allocations: 89.19 kB / 0.6629 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1644, allocations: 34.5 kB / 0.663 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.1645, allocations: 0 / 0.663 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004315/0.1688, allocations: 0.5792 MB / 0.6635 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1688, allocations: 55.41 kB / 0.6636 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.337e-05/0.1689, allocations: 89.86 kB / 0.6637 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1689, allocations: 25.7 kB / 0.6637 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.458e-05/0.1689, allocations: 80.14 kB / 0.6638 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.169, allocations: 11.81 kB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.1691, allocations: 17.7 kB / 0.6638 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1692, allocations: 322.8 kB / 0.6641 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.1698, allocations: 79.95 kB / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006144/0.1704, allocations: 106.5 kB / 0.6643 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.1716, allocations: 190.7 kB / 0.6645 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1716, allocations: 0 / 0.6645 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001299/0.173, allocations: 221.5 kB / 0.6647 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.173, allocations: 8 kB / 0.6647 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.173, allocations: 3.938 kB / 0.6647 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.173, allocations: 0 / 0.6647 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.1734, allocations: 52 kB / 0.6647 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1734, allocations: 0 / 0.6647 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.1738, allocations: 43.97 kB / 0.6648 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1738, allocations: 0 / 0.6648 GB, free: 5.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 9.656e-05/0.1739, allocations: 118.7 kB / 0.6649 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.174, allocations: 3.938 kB / 0.6649 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.1754, allocations: 233 kB / 0.6651 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1754, allocations: 4 kB / 0.6651 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1754, allocations: 0 / 0.6651 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1754, allocations: 0 / 0.6651 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.177, allocations: 462.3 kB / 0.6656 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.177, allocations: 0 / 0.6656 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.1774, allocations: 51.91 kB / 0.6656 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1774, allocations: 0 / 0.6656 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1774, allocations: 7.984 kB / 0.6656 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1774, allocations: 0 / 0.6656 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1774, allocations: 3.938 kB / 0.6656 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.1787, allocations: 311.6 kB / 0.6659 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.1787, allocations: 77.53 kB / 0.666 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1788, allocations: 4 kB / 0.666 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.1791, allocations: 39.98 kB / 0.666 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.1792, allocations: 3.984 kB / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1792, allocations: 0 / 0.666 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.452e-05/0.1792, allocations: 79.28 kB / 0.6661 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1792, allocations: 0 / 0.6661 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002564/0.1795, allocations: 12 kB / 0.6661 GB, free: 3.934 MB / 0.4981 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 (5): * Single equations (assignments): 5 * 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 0.0001657/0.1796, allocations: 111.1 kB / 0.6662 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.1809, allocations: 179.9 kB / 0.6664 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.181, allocations: 4 kB / 0.6664 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.1816, allocations: 96.02 kB / 0.6665 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.1818, allocations: 0 / 0.6665 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.183, allocations: 242.5 kB / 0.6667 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1833, allocations: 0.6846 MB / 0.6674 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.1834, allocations: 15.44 kB / 0.6674 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.1834, allocations: 0 / 0.6674 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of Templates: time 0.002719/0.1861, allocations: 1.101 MB / 0.6685 GB, free: 1.453 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)