Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 113.2 kB / 16.38 MB, free: 6.48 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.001223/0.001223, allocations: 188.9 kB / 17.31 MB, free: 5.785 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7188/0.7188, allocations: 135.1 MB / 426.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 64.69 kB / 0.5862 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1217, allocations: 80.93 MB / 0.6653 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002164/0.1239, allocations: 1.449 MB / 0.6667 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.1247, allocations: 0.5657 MB / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.1247, allocations: 0 / 0.6672 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.1247, allocations: 3.938 kB / 0.6672 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.1248, allocations: 7.938 kB / 0.6672 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.125, allocations: 51.81 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.1251, allocations: 27.86 kB / 0.6673 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.1252, allocations: 8 kB / 0.6673 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.1252, allocations: 19.92 kB / 0.6673 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.552e-05/0.1253, allocations: 11.98 kB / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1253, allocations: 0 / 0.6674 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1254, allocations: 59.89 kB / 0.6674 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1254, allocations: 4 kB / 0.6674 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.1255, allocations: 15.92 kB / 0.6674 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.1256, allocations: 59.86 kB / 0.6675 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1256, allocations: 4 kB / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1256, allocations: 0 / 0.6675 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1256, allocations: 0 / 0.6675 GB, free: 3.543 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.0003629/0.126, allocations: 343.4 kB / 0.6678 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.126, allocations: 9.109 kB / 0.6678 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.126, allocations: 12.81 kB / 0.6678 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1261, allocations: 180.2 kB / 0.668 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.1262, allocations: 384 / 0.668 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1262, allocations: 4.359 kB / 0.668 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1263, allocations: 46 kB / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.1263, allocations: 0 / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1263, allocations: 0 / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1263, allocations: 0 / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.1264, allocations: 23.98 kB / 0.6681 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.1267, allocations: 260.8 kB / 0.6683 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.428e-05/0.1268, allocations: 30.56 kB / 0.6684 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.252e-05/0.1268, allocations: 12.92 kB / 0.6684 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.1276, allocations: 481.4 kB / 0.6688 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1276, allocations: 34.5 kB / 0.6689 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1276, allocations: 0 / 0.6689 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002373/0.1278, allocations: 65.64 kB / 0.6689 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.1279, allocations: 55.41 kB / 0.669 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.312e-05/0.128, allocations: 117.8 kB / 0.6691 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.128, allocations: 25.7 kB / 0.6691 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.1281, allocations: 80.14 kB / 0.6692 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1281, allocations: 11.91 kB / 0.6692 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1281, allocations: 13.7 kB / 0.6692 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.1282, allocations: 318.8 kB / 0.6695 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.1283, allocations: 8 kB / 0.6695 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.1283, allocations: 7.984 kB / 0.6695 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.1284, allocations: 36.78 kB / 0.6696 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1284, allocations: 0 / 0.6696 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000113/0.1285, allocations: 53.62 kB / 0.6696 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1285, allocations: 4 kB / 0.6696 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1285, allocations: 0 / 0.6696 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1285, allocations: 4.094 kB / 0.6696 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.369e-05/0.1286, allocations: 7.984 kB / 0.6696 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1286, allocations: 4 kB / 0.6696 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.1287, allocations: 4 kB / 0.6696 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1287, allocations: 0 / 0.6696 GB, free: 1.02 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 6.16e-05/0.1287, allocations: 113.8 kB / 0.6698 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.1288, allocations: 7.844 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.1289, allocations: 69.14 kB / 0.6698 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1289, allocations: 0 / 0.6698 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.129, allocations: 4 kB / 0.6698 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.129, allocations: 3.984 kB / 0.6698 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1291, allocations: 161.6 kB / 0.67 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1291, allocations: 0 / 0.67 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.1292, allocations: 7.984 kB / 0.67 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1292, allocations: 4 kB / 0.67 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.1292, allocations: 0 / 0.67 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1292, allocations: 0 / 0.67 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1292, allocations: 0 / 0.67 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.1293, allocations: 147.5 kB / 0.6701 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.1294, allocations: 89 kB / 0.6702 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1294, allocations: 0 / 0.6702 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.1295, allocations: 4 kB / 0.6702 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1295, allocations: 4 kB / 0.6702 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1295, allocations: 3.938 kB / 0.6702 GB, free: 320 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.1295, allocations: 87.3 kB / 0.6703 GB, free: 232 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1295, allocations: 3.938 kB / 0.6703 GB, free: 228 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002228/0.1298, allocations: 20 kB / 0.6703 GB, free: 208 kB / 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.0001479/0.1299, allocations: 116.5 kB / 0.6705 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.1301, allocations: 23.98 kB / 0.6705 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1301, allocations: 0 / 0.6705 GB, free: 60 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.1301, allocations: 16.05 kB / 0.6705 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.1303, allocations: 11.88 kB / 0.6705 GB, free: 32 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.1306, allocations: 152.2 kB / 0.6707 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.1308, allocations: 0.6807 MB / 0.6713 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.1308, allocations: 7.438 kB / 0.6713 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of SimCode: time 2.455e-06/0.1309, allocations: 0 / 0.6713 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.001903/0.1328, allocations: 0.8179 MB / 0.6721 GB, free: 14.31 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)