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.001374/0.001374, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001289/0.001289, allocations: 187 kB / 17.34 MB, free: 5.715 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8479/0.8479, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 62.8 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1418, allocations: 80.93 MB / 0.6654 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002555/0.1444, allocations: 1.466 MB / 0.6668 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.1453, allocations: 0.5579 MB / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.1453, allocations: 0 / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.1454, allocations: 3.938 kB / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.1454, allocations: 11.92 kB / 0.6674 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1457, allocations: 47.81 kB / 0.6674 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.1457, allocations: 31.86 kB / 0.6674 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.767e-05/0.1458, allocations: 4 kB / 0.6674 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.1459, allocations: 8 kB / 0.6674 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.1459, allocations: 15.92 kB / 0.6675 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.146, allocations: 4 kB / 0.6675 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.1461, allocations: 55.94 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.1461, allocations: 11.94 kB / 0.6675 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.1461, allocations: 7.922 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.1462, allocations: 63.8 kB / 0.6676 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1462, allocations: 0 / 0.6676 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1462, allocations: 4 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.1463, allocations: 0 / 0.6676 GB, free: 3.422 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.0004453/0.1467, allocations: 355.2 kB / 0.6679 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1467, allocations: 9.109 kB / 0.6679 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1468, allocations: 12.88 kB / 0.668 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1469, allocations: 168.3 kB / 0.6681 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1469, allocations: 4.312 kB / 0.6681 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1469, allocations: 4.375 kB / 0.6681 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1471, allocations: 50 kB / 0.6682 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1471, allocations: 0 / 0.6682 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.1471, allocations: 0 / 0.6682 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1471, allocations: 0 / 0.6682 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.642e-05/0.1472, allocations: 19.98 kB / 0.6682 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.1475, allocations: 252.8 kB / 0.6684 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.592e-05/0.1476, allocations: 42.5 kB / 0.6685 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.1476, allocations: 12.92 kB / 0.6685 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000843/0.1485, allocations: 477.4 kB / 0.6689 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1485, allocations: 34.56 kB / 0.669 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 4.639e-06/0.1485, allocations: 7.984 kB / 0.669 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002452/0.1488, allocations: 65.61 kB / 0.669 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.1488, allocations: 51.41 kB / 0.6691 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.939e-05/0.1489, allocations: 109.8 kB / 0.6692 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1489, allocations: 29.7 kB / 0.6692 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.149, allocations: 84.14 kB / 0.6693 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.149, allocations: 3.953 kB / 0.6693 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.149, allocations: 25.83 kB / 0.6693 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1491, allocations: 310.8 kB / 0.6696 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.1492, allocations: 8 kB / 0.6696 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/0.1492, allocations: 11.98 kB / 0.6697 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.926e-05/0.1493, allocations: 28.78 kB / 0.6697 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1493, allocations: 0 / 0.6697 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001268/0.1494, allocations: 65.64 kB / 0.6697 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1495, allocations: 4 kB / 0.6697 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1495, allocations: 4 kB / 0.6697 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1495, allocations: 0 / 0.6697 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.1495, allocations: 11.98 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1495, allocations: 0 / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.1496, allocations: 0 / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1496, allocations: 4 kB / 0.6698 GB, free: 0.8867 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 8.354e-05/0.1497, allocations: 113.8 kB / 0.6699 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1497, allocations: 7.984 kB / 0.6699 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.1499, allocations: 61.16 kB / 0.6699 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1499, allocations: 0 / 0.6699 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1499, allocations: 0 / 0.6699 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1499, allocations: 3.984 kB / 0.6699 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.15, allocations: 161.6 kB / 0.6701 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.15, allocations: 0 / 0.6701 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.1501, allocations: 7.984 kB / 0.6701 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1501, allocations: 7.969 kB / 0.6701 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1501, allocations: 0 / 0.6701 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1501, allocations: 3.938 kB / 0.6701 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1501, allocations: 0 / 0.6701 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.1503, allocations: 155.4 kB / 0.6703 GB, free: 300 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1503, allocations: 85.03 kB / 0.6703 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1503, allocations: 0 / 0.6703 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.175e-05/0.1504, allocations: 8.031 kB / 0.6704 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.1504, allocations: 3.938 kB / 0.6704 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.1504, allocations: 0 / 0.6704 GB, free: 184 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.1505, allocations: 91.27 kB / 0.6704 GB, free: 92 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1505, allocations: 0 / 0.6704 GB, free: 92 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002319/0.1507, allocations: 12 kB / 0.6705 GB, free: 80 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.0001786/0.1509, allocations: 115.2 kB / 0.6706 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.151, allocations: 23.98 kB / 0.6706 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.151, allocations: 0 / 0.6706 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.805e-05/0.1511, allocations: 11.98 kB / 0.6706 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1513, allocations: 11.94 kB / 0.6706 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.1516, allocations: 160.1 kB / 0.6708 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1519, allocations: 0.6768 MB / 0.6714 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1519, allocations: 7.562 kB / 0.6714 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1519, allocations: 4 kB / 0.6714 GB, free: 15 MB / 0.5137 GB Notification: Performance of Templates: time 0.002429/0.1544, allocations: 0.8165 MB / 0.6722 GB, free: 14.19 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)