Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 110.1 kB / 16.41 MB, free: 6.488 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.001138/0.001139, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7837/0.7837, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 66.27 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.003035/0.1371, allocations: 1.427 MB / 0.6617 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.138, allocations: 479.7 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.138, allocations: 0 / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.1381, allocations: 3.938 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.701e-05/0.1382, allocations: 7.938 kB / 0.6622 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1384, allocations: 23.95 kB / 0.6622 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.604e-05/0.1385, allocations: 19.94 kB / 0.6622 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1386, allocations: 15.92 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.1387, allocations: 7.938 kB / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.1388, allocations: 15.92 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.1388, allocations: 0 / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.606e-05/0.1389, allocations: 23.98 kB / 0.6623 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.1389, allocations: 7.984 kB / 0.6623 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.1389, allocations: 19.92 kB / 0.6623 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.139, allocations: 23.91 kB / 0.6624 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.139, allocations: 0 / 0.6624 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.694e-06/0.139, allocations: 0 / 0.6624 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1391, allocations: 0 / 0.6624 GB, free: 8.172 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.0004645/0.1395, allocations: 343.4 kB / 0.6627 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1396, allocations: 8.031 kB / 0.6627 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.1396, allocations: 4.938 kB / 0.6627 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1397, allocations: 172.3 kB / 0.6629 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1398, allocations: 4.375 kB / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1398, allocations: 384 / 0.6629 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.14, allocations: 53.98 kB / 0.6629 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.14, allocations: 0 / 0.6629 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.14, allocations: 7.938 kB / 0.6629 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.14, allocations: 0 / 0.6629 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.1402, allocations: 27.97 kB / 0.663 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.1405, allocations: 260.8 kB / 0.6632 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1406, allocations: 38.5 kB / 0.6632 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.1407, allocations: 24.89 kB / 0.6633 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.1409, allocations: 85.09 kB / 0.6633 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1409, allocations: 34.56 kB / 0.6634 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1409, allocations: 0 / 0.6634 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003679/0.1413, allocations: 81.64 kB / 0.6635 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1413, allocations: 55.34 kB / 0.6635 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.1414, allocations: 105.8 kB / 0.6636 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1414, allocations: 25.7 kB / 0.6636 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.1415, allocations: 84.27 kB / 0.6637 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.1415, allocations: 15.84 kB / 0.6637 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.1415, allocations: 9.719 kB / 0.6637 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1417, allocations: 314.8 kB / 0.664 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.1418, allocations: 19.98 kB / 0.6641 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.1418, allocations: 11.98 kB / 0.6641 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.142, allocations: 44.83 kB / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.142, allocations: 0 / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.1422, allocations: 73.59 kB / 0.6642 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1422, allocations: 4 kB / 0.6642 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1423, allocations: 4.188 kB / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1423, allocations: 0 / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.1424, allocations: 16.02 kB / 0.6642 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1424, allocations: 4 kB / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.1424, allocations: 7.984 kB / 0.6642 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.1424, allocations: 0 / 0.6642 GB, free: 6.027 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.423e-05/0.1425, allocations: 113.8 kB / 0.6643 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.1426, allocations: 7.891 kB / 0.6643 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.1428, allocations: 72.78 kB / 0.6644 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1428, allocations: 4.031 kB / 0.6644 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1428, allocations: 0 / 0.6644 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1428, allocations: 0 / 0.6644 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.143, allocations: 165.5 kB / 0.6646 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.143, allocations: 3.938 kB / 0.6646 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.1431, allocations: 11.98 kB / 0.6646 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1431, allocations: 0 / 0.6646 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.1431, allocations: 0 / 0.6646 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1431, allocations: 0 / 0.6646 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1431, allocations: 0 / 0.6646 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1433, allocations: 167.5 kB / 0.6647 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.1434, allocations: 77.11 kB / 0.6648 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1434, allocations: 4 kB / 0.6648 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.688e-05/0.1435, allocations: 7.984 kB / 0.6648 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.1435, allocations: 4 kB / 0.6648 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.1435, allocations: 4.031 kB / 0.6648 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.57e-05/0.1436, allocations: 79.28 kB / 0.6649 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1436, allocations: 0 / 0.6649 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002304/0.1438, allocations: 12 kB / 0.6649 GB, free: 5.203 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 (2): * Single equations (assignments): 2 * 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.0001512/0.144, allocations: 103.2 kB / 0.665 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1442, allocations: 35.97 kB / 0.6651 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1442, allocations: 4.062 kB / 0.6651 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.1443, allocations: 19.97 kB / 0.6651 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1446, allocations: 11.94 kB / 0.6651 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.1449, allocations: 127.1 kB / 0.6652 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.1451, allocations: 0.6768 MB / 0.6659 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.1452, allocations: 11.44 kB / 0.6659 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/0.1452, allocations: 0 / 0.6659 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.002012/0.1472, allocations: 0.6627 MB / 0.6665 GB, free: 3.492 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)