Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 104 kB / 16.41 MB, free: 6.449 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.001736/0.001736, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7691/0.7691, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.58 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002802/0.1452, allocations: 1.45 MB / 0.6618 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004085/0.1457, allocations: 144.4 kB / 0.6619 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.1457, allocations: 0 / 0.6619 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.1458, allocations: 3.984 kB / 0.6619 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.1459, allocations: 7.922 kB / 0.6619 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.1461, allocations: 31.91 kB / 0.6619 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1462, allocations: 35.92 kB / 0.662 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1463, allocations: 35.86 kB / 0.662 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.1464, allocations: 11.98 kB / 0.662 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.1465, allocations: 27.84 kB / 0.662 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1465, allocations: 4 kB / 0.662 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.069e-05/0.1466, allocations: 27.98 kB / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.1466, allocations: 11.98 kB / 0.6621 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1466, allocations: 23.88 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.1468, allocations: 67.78 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1468, allocations: 0 / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1468, allocations: 3.938 kB / 0.6622 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.1468, allocations: 0 / 0.6622 GB, free: 8.352 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004826/0.1473, allocations: 351.4 kB / 0.6625 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1473, allocations: 12.02 kB / 0.6625 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.1485, allocations: 216.5 kB / 0.6627 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.1486, allocations: 168.3 kB / 0.6629 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1486, allocations: 4.375 kB / 0.6629 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1486, allocations: 4.375 kB / 0.6629 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.1492, allocations: 194 kB / 0.6631 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1492, allocations: 192 / 0.6631 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1493, allocations: 7.938 kB / 0.6631 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1493, allocations: 0 / 0.6631 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/0.1501, allocations: 283.5 kB / 0.6634 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009114/0.151, allocations: 445.1 kB / 0.6638 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1522, allocations: 290.2 kB / 0.6641 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/0.1526, allocations: 104.7 kB / 0.6642 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1526, allocations: 3.984 kB / 0.6642 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1526, allocations: 30.56 kB / 0.6642 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1526, allocations: 0 / 0.6642 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001267/0.1539, allocations: 309.2 kB / 0.6645 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.154, allocations: 55.41 kB / 0.6645 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1541, allocations: 113.8 kB / 0.6647 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1541, allocations: 33.64 kB / 0.6647 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.1542, allocations: 88.5 kB / 0.6648 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1542, allocations: 19.84 kB / 0.6648 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.1543, allocations: 13.72 kB / 0.6648 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1544, allocations: 322.8 kB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1548, allocations: 95.81 kB / 0.6652 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.1551, allocations: 96.06 kB / 0.6653 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.1558, allocations: 176.7 kB / 0.6655 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1558, allocations: 0 / 0.6655 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007532/0.1566, allocations: 217.4 kB / 0.6657 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1566, allocations: 8 kB / 0.6657 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1566, allocations: 3.984 kB / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1566, allocations: 0 / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.1569, allocations: 35.89 kB / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.1569, allocations: 4 kB / 0.6657 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.1571, allocations: 23.95 kB / 0.6657 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1571, allocations: 7.984 kB / 0.6657 GB, free: 4.465 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 (3): * Single equations (assignments): 3 * 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.522e-05/0.1572, allocations: 117.8 kB / 0.6659 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.1573, allocations: 3.906 kB / 0.6659 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.1573, allocations: 11.91 kB / 0.6659 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1573, allocations: 7.984 kB / 0.6659 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1573, allocations: 0 / 0.6659 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1573, allocations: 0 / 0.6659 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1576, allocations: 209.5 kB / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1576, allocations: 0 / 0.6661 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.1579, allocations: 31.95 kB / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1579, allocations: 0 / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.1579, allocations: 0 / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1579, allocations: 3.984 kB / 0.6661 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.158, allocations: 4 kB / 0.6661 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009111/0.1589, allocations: 311.2 kB / 0.6664 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.1589, allocations: 85.02 kB / 0.6665 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.159, allocations: 4 kB / 0.6665 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1592, allocations: 27.95 kB / 0.6665 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.1593, allocations: 7.984 kB / 0.6665 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.1593, allocations: 4 kB / 0.6665 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.1593, allocations: 95.27 kB / 0.6666 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1593, allocations: 0 / 0.6666 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002334/0.1596, allocations: 12.28 kB / 0.6666 GB, free: 3.441 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 (3): * Single equations (assignments): 3 * 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.000123/0.1597, allocations: 103.2 kB / 0.6667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008013/0.1605, allocations: 191.7 kB / 0.6669 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1605, allocations: 7.875 kB / 0.6669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.1609, allocations: 107.8 kB / 0.667 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.1611, allocations: 4 kB / 0.667 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.162, allocations: 282.9 kB / 0.6673 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.1623, allocations: 0.6962 MB / 0.668 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.1624, allocations: 15.42 kB / 0.668 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.1624, allocations: 0 / 0.668 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of Templates: time 0.002558/0.165, allocations: 1.179 MB / 0.6692 GB, free: 0.8008 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)