Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001021/0.001021, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.0009986/0.0009986, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7833/0.7833, allocations: 132.2 MB / 423.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 73.92 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1247, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002402/0.1272, allocations: 1.446 MB / 0.6618 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008763/0.1281, allocations: 0.5618 MB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.1281, allocations: 4 kB / 0.6623 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.457e-05/0.1282, allocations: 3.938 kB / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.1282, allocations: 3.938 kB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1285, allocations: 51.83 kB / 0.6624 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.1286, allocations: 31.86 kB / 0.6624 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.1286, allocations: 7.984 kB / 0.6624 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.1287, allocations: 11.94 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.1288, allocations: 23.91 kB / 0.6624 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1288, allocations: 4 kB / 0.6625 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1289, allocations: 51.95 kB / 0.6625 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.129, allocations: 7.938 kB / 0.6625 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.129, allocations: 7.938 kB / 0.6625 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.1291, allocations: 63.86 kB / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1291, allocations: 0 / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1292, allocations: 0 / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1292, allocations: 3.938 kB / 0.6626 GB, free: 7.945 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.000388/0.1296, allocations: 351.4 kB / 0.6629 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1296, allocations: 8.031 kB / 0.6629 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1296, allocations: 8.844 kB / 0.6629 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1298, allocations: 176.3 kB / 0.6631 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.1298, allocations: 384 / 0.6631 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.1298, allocations: 384 / 0.6631 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1299, allocations: 46 kB / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1299, allocations: 4 kB / 0.6631 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1299, allocations: 3.938 kB / 0.6632 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.13, allocations: 0 / 0.6632 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.384e-05/0.13, allocations: 27.92 kB / 0.6632 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.1304, allocations: 252.9 kB / 0.6634 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.695e-05/0.1304, allocations: 30.58 kB / 0.6634 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.812e-05/0.1305, allocations: 16.91 kB / 0.6635 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007921/0.1313, allocations: 477.4 kB / 0.6639 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1313, allocations: 38.5 kB / 0.664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1313, allocations: 0 / 0.664 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002325/0.1316, allocations: 65.58 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.1316, allocations: 55.53 kB / 0.6641 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.1317, allocations: 105.8 kB / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1317, allocations: 29.7 kB / 0.6642 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.1318, allocations: 84.14 kB / 0.6643 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.1318, allocations: 3.906 kB / 0.6643 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.1318, allocations: 17.72 kB / 0.6643 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.1319, allocations: 314.8 kB / 0.6646 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.466e-05/0.132, allocations: 12 kB / 0.6646 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.132, allocations: 11.98 kB / 0.6646 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.1321, allocations: 28.78 kB / 0.6647 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1321, allocations: 3.938 kB / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001234/0.1322, allocations: 53.69 kB / 0.6647 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1323, allocations: 8 kB / 0.6647 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1323, allocations: 0 / 0.6647 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1323, allocations: 4.094 kB / 0.6647 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.1324, allocations: 7.984 kB / 0.6647 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1324, allocations: 0 / 0.6647 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.1324, allocations: 0 / 0.6647 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1324, allocations: 4 kB / 0.6647 GB, free: 5.426 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.356e-05/0.1325, allocations: 109.8 kB / 0.6648 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.928e-05/0.1325, allocations: 7.906 kB / 0.6648 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1327, allocations: 69.12 kB / 0.6649 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1327, allocations: 4.031 kB / 0.6649 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1327, allocations: 3.938 kB / 0.6649 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1328, allocations: 77.11 kB / 0.665 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1328, allocations: 3.984 kB / 0.665 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.1329, allocations: 4 kB / 0.665 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.1329, allocations: 3.938 kB / 0.665 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001622/0.1331, allocations: 140.8 kB / 0.6651 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001736/0.1332, allocations: 226.8 kB / 0.6654 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.642e-05/0.1333, allocations: 11.98 kB / 0.6654 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.1333, allocations: 95.56 kB / 0.6655 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of Backend: time 2.11e-07/0.1334, allocations: 0 / 0.6655 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.1338, allocations: 112.9 kB / 0.6656 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0003839/0.1341, allocations: 0.5736 MB / 0.6661 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of Templates: time 0.002705/0.1369, allocations: 0.763 MB / 0.6669 GB, free: 3.121 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)