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.0009054/0.0009055, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.296/1.296, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9251/0.9251, allocations: 135.3 MB / 427.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.0003101, allocations: 12 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1422, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001424/0.1437, allocations: 1.169 MB / 0.5898 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.1445, allocations: 0.5542 MB / 0.5903 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.1446, allocations: 0 / 0.5903 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.1446, allocations: 7.922 kB / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.878e-05/0.1447, allocations: 0 / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.1449, allocations: 39.91 kB / 0.5903 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.1449, allocations: 23.92 kB / 0.5904 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.661e-05/0.145, allocations: 8 kB / 0.5904 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.1451, allocations: 19.84 kB / 0.5904 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.1452, allocations: 11.94 kB / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1452, allocations: 0 / 0.5904 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.1453, allocations: 55.95 kB / 0.5905 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.1453, allocations: 3.984 kB / 0.5905 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.1454, allocations: 45.56 kB / 0.5905 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.139e-05/0.1455, allocations: 39.95 kB / 0.5905 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1455, allocations: 0 / 0.5905 GB, free: 0.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1455, allocations: 0 / 0.5905 GB, free: 0.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1455, allocations: 0 / 0.5905 GB, free: 0.625 MB / 494.1 MB 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.0003601/0.1459, allocations: 343.7 kB / 0.5909 GB, free: 248 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1459, allocations: 15.97 kB / 0.5909 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.1459, allocations: 4.844 kB / 0.5909 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.146, allocations: 168.4 kB / 0.5911 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1461, allocations: 4.375 kB / 0.5911 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1461, allocations: 384 / 0.5911 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1462, allocations: 54.05 kB / 0.5911 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.1462, allocations: 0 / 0.5911 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1462, allocations: 0 / 0.5911 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1463, allocations: 3.984 kB / 0.5911 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.1463, allocations: 27.86 kB / 0.5911 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1467, allocations: 260.8 kB / 0.5914 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.1468, allocations: 30.58 kB / 0.5914 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.1468, allocations: 20.91 kB / 0.5914 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/0.1476, allocations: 0.4897 MB / 0.5919 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1476, allocations: 42.48 kB / 0.592 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1477, allocations: 0 / 0.592 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000233/0.1479, allocations: 61.69 kB / 0.592 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.1479, allocations: 55.53 kB / 0.5921 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.148, allocations: 113.8 kB / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.148, allocations: 25.7 kB / 0.5922 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.1481, allocations: 88.12 kB / 0.5923 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.1481, allocations: 7.906 kB / 0.5923 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.1481, allocations: 13.66 kB / 0.5923 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.1482, allocations: 314.8 kB / 0.5926 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.1483, allocations: 11.98 kB / 0.5926 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.1483, allocations: 12 kB / 0.5926 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.1484, allocations: 36.72 kB / 0.5927 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1484, allocations: 4 kB / 0.5927 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001178/0.1485, allocations: 57.73 kB / 0.5927 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1486, allocations: 8.031 kB / 0.5927 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1486, allocations: 0 / 0.5927 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1486, allocations: 0 / 0.5927 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.656e-05/0.1487, allocations: 12 kB / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1487, allocations: 0 / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.1487, allocations: 0 / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1487, allocations: 7.984 kB / 0.5927 GB, free: 14.05 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.731e-05/0.1488, allocations: 109.8 kB / 0.5929 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1488, allocations: 7.906 kB / 0.5929 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.149, allocations: 73.14 kB / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.149, allocations: 4 kB / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.149, allocations: 0 / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.149, allocations: 0 / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1492, allocations: 161.5 kB / 0.5931 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1492, allocations: 4 kB / 0.5931 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.1492, allocations: 12.02 kB / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1492, allocations: 0 / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1493, allocations: 0 / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1493, allocations: 0 / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1493, allocations: 0 / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.1494, allocations: 163.4 kB / 0.5933 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.1495, allocations: 85.05 kB / 0.5933 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1495, allocations: 0 / 0.5933 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.1496, allocations: 4 kB / 0.5933 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.1496, allocations: 3.984 kB / 0.5933 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1496, allocations: 0 / 0.5933 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.154e-05/0.1496, allocations: 87.59 kB / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1496, allocations: 0 / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002293/0.1499, allocations: 16 kB / 0.5934 GB, free: 13.23 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.0001543/0.15, allocations: 127.2 kB / 0.5936 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.1502, allocations: 27.98 kB / 0.5936 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1502, allocations: 0 / 0.5936 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.1502, allocations: 15.92 kB / 0.5936 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.1504, allocations: 3.938 kB / 0.5936 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.1507, allocations: 170.5 kB / 0.5938 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.1509, allocations: 0.677 MB / 0.5944 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.151, allocations: 7.438 kB / 0.5944 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.151, allocations: 4 kB / 0.5944 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.001958/0.1529, allocations: 0.8149 MB / 0.5952 GB, free: 11.33 MB / 0.4981 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)