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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8071/0.8071, allocations: 133.3 MB / 150.1 MB, free: 11.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 404.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001142, allocations: 99.69 kB / 485.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1416, allocations: 80.42 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003119/0.1447, allocations: 1.512 MB / 0.6436 GB, free: 3.918 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1458, allocations: 0.5788 MB / 0.6442 GB, free: 3.332 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.1459, allocations: 0 / 0.6442 GB, free: 3.332 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.1459, allocations: 0 / 0.6442 GB, free: 3.332 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.146, allocations: 7.938 kB / 0.6442 GB, free: 3.324 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.1463, allocations: 39.89 kB / 0.6442 GB, free: 3.285 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.1463, allocations: 19.92 kB / 0.6442 GB, free: 3.266 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1464, allocations: 8 kB / 0.6443 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1466, allocations: 23.91 kB / 0.6443 GB, free: 3.234 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.1466, allocations: 11.94 kB / 0.6443 GB, free: 3.223 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1467, allocations: 0 / 0.6443 GB, free: 3.223 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1468, allocations: 51.95 kB / 0.6443 GB, free: 3.172 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.1468, allocations: 4 kB / 0.6443 GB, free: 3.168 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.1469, allocations: 19.84 kB / 0.6444 GB, free: 3.148 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1471, allocations: 67.8 kB / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1471, allocations: 0 / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1471, allocations: 0 / 0.6444 GB, free: 3.082 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1471, allocations: 4 kB / 0.6444 GB, free: 3.078 MB / 442.7 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.0004707/0.1476, allocations: 355.6 kB / 0.6448 GB, free: 2.684 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1476, allocations: 11.97 kB / 0.6448 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.1477, allocations: 0.9375 kB / 0.6448 GB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1478, allocations: 168.3 kB / 0.6449 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-06/0.1478, allocations: 384 / 0.6449 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.1478, allocations: 384 / 0.6449 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.148, allocations: 46 kB / 0.645 GB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.148, allocations: 8 kB / 0.645 GB, free: 2.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.148, allocations: 0 / 0.645 GB, free: 2.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.148, allocations: 0 / 0.645 GB, free: 2.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.1481, allocations: 27.91 kB / 0.645 GB, free: 2.383 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.1485, allocations: 252.9 kB / 0.6453 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.154e-05/0.1486, allocations: 34.56 kB / 0.6453 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.1486, allocations: 16.92 kB / 0.6453 GB, free: 2.023 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007935/0.1494, allocations: 477.4 kB / 0.6458 GB, free: 1.465 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1495, allocations: 30.56 kB / 0.6458 GB, free: 1.426 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.1495, allocations: 4 kB / 0.6458 GB, free: 1.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002491/0.1497, allocations: 69.52 kB / 0.6459 GB, free: 1.348 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1498, allocations: 51.41 kB / 0.6459 GB, free: 1.285 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.1499, allocations: 109.8 kB / 0.646 GB, free: 1.168 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1499, allocations: 25.7 kB / 0.646 GB, free: 1.137 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.1499, allocations: 84.14 kB / 0.6461 GB, free: 1.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.15, allocations: 7.906 kB / 0.6461 GB, free: 1.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.15, allocations: 21.83 kB / 0.6461 GB, free: 1.016 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1501, allocations: 314.8 kB / 0.6464 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.1502, allocations: 11.92 kB / 0.6465 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.1502, allocations: 8 kB / 0.6465 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.278e-05/0.1503, allocations: 32.78 kB / 0.6465 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1503, allocations: 3.938 kB / 0.6465 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001214/0.1505, allocations: 53.75 kB / 0.6466 GB, free: 0.582 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1505, allocations: 8 kB / 0.6466 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1505, allocations: 3.984 kB / 0.6466 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1505, allocations: 0 / 0.6466 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.311e-05/0.1506, allocations: 4 kB / 0.6466 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1506, allocations: 0 / 0.6466 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.1506, allocations: 0 / 0.6466 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1507, allocations: 4 kB / 0.6466 GB, free: 0.5625 MB / 442.7 MB 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.356e-05/0.1507, allocations: 113.8 kB / 0.6467 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1508, allocations: 8.031 kB / 0.6467 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1509, allocations: 65.14 kB / 0.6468 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.151, allocations: 0 / 0.6468 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.151, allocations: 0 / 0.6468 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.151, allocations: 0 / 0.6468 GB, free: 376 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1511, allocations: 173.5 kB / 0.6469 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1512, allocations: 4 kB / 0.6469 GB, free: 148 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.1512, allocations: 11.97 kB / 0.6469 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1512, allocations: 32 / 0.6469 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1512, allocations: 4 kB / 0.6469 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1512, allocations: 0 / 0.6469 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1512, allocations: 0 / 0.6469 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.1517, allocations: 0.7045 MB / 0.6476 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.1518, allocations: 85.05 kB / 0.6477 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1518, allocations: 0 / 0.6477 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.1519, allocations: 4 kB / 0.6477 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.1519, allocations: 7.922 kB / 0.6477 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.1519, allocations: 4 kB / 0.6477 GB, free: 15.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.348e-05/0.152, allocations: 87.27 kB / 0.6478 GB, free: 15.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.152, allocations: 0 / 0.6478 GB, free: 15.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003289/0.1523, allocations: 19.98 kB / 0.6478 GB, free: 15.14 MB / 458.7 MB 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.0001866/0.1525, allocations: 115.2 kB / 0.6479 GB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.1527, allocations: 27.91 kB / 0.648 GB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1527, allocations: 4 kB / 0.648 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.1527, allocations: 4 kB / 0.648 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.1529, allocations: 8 kB / 0.648 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.1533, allocations: 236.7 kB / 0.6482 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1535, allocations: 0.6809 MB / 0.6489 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.1536, allocations: 0 / 0.6489 GB, free: 14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.1536, allocations: 11.44 kB / 0.6489 GB, free: 13.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1536, allocations: 3.938 kB / 0.6489 GB, free: 13.98 MB / 458.7 MB Notification: Performance of Templates: time 0.002504/0.1561, allocations: 0.6416 MB / 0.6495 GB, free: 13.34 MB / 458.7 MB 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)