Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 110.2 kB / 16.41 MB, free: 6.488 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.001192/0.001192, allocations: 189.5 kB / 17.34 MB, free: 5.762 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: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7958/0.7958, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.62 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1514, allocations: 80.22 MB / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002556/0.154, allocations: 1.423 MB / 0.6617 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004356/0.1545, allocations: 204.2 kB / 0.6619 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.1545, allocations: 0 / 0.6619 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.1546, allocations: 0 / 0.6619 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.1546, allocations: 7.938 kB / 0.6619 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1549, allocations: 35.89 kB / 0.662 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.155, allocations: 23.92 kB / 0.662 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.1551, allocations: 8 kB / 0.662 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.1552, allocations: 11.92 kB / 0.662 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.1552, allocations: 11.98 kB / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1552, allocations: 0 / 0.662 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.1553, allocations: 31.97 kB / 0.6621 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1553, allocations: 15.92 kB / 0.6621 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.1554, allocations: 3.938 kB / 0.6621 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1555, allocations: 43.94 kB / 0.6621 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1555, allocations: 0 / 0.6621 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.865e-06/0.1555, allocations: 4 kB / 0.6621 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1555, allocations: 3.938 kB / 0.6621 GB, free: 8.551 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.0004593/0.156, allocations: 343.4 kB / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.156, allocations: 11.97 kB / 0.6625 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.1561, allocations: 4.938 kB / 0.6625 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1562, allocations: 164.4 kB / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1562, allocations: 4.312 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1562, allocations: 8.359 kB / 0.6626 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1564, allocations: 54.23 kB / 0.6627 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1564, allocations: 192 / 0.6627 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1564, allocations: 3.938 kB / 0.6627 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1565, allocations: 0 / 0.6627 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.1566, allocations: 35.95 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.157, allocations: 244.8 kB / 0.663 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1571, allocations: 50.47 kB / 0.663 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.1572, allocations: 20.91 kB / 0.663 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.575e-05/0.1573, allocations: 81.11 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1573, allocations: 30.56 kB / 0.6631 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1573, allocations: 0 / 0.6631 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003525/0.1577, allocations: 85.64 kB / 0.6632 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.1577, allocations: 55.34 kB / 0.6633 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.1578, allocations: 105.8 kB / 0.6634 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1578, allocations: 25.7 kB / 0.6634 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.1579, allocations: 84.14 kB / 0.6635 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1579, allocations: 7.906 kB / 0.6635 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1579, allocations: 13.83 kB / 0.6635 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.158, allocations: 314.8 kB / 0.6638 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.1581, allocations: 19.98 kB / 0.6638 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.538e-05/0.1582, allocations: 11.98 kB / 0.6638 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1584, allocations: 45.06 kB / 0.6639 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1584, allocations: 64 / 0.6639 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.1586, allocations: 73.61 kB / 0.6639 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1586, allocations: 11.92 kB / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1586, allocations: 0 / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1586, allocations: 0 / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.1587, allocations: 11.94 kB / 0.664 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1587, allocations: 0 / 0.664 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.1588, allocations: 11.92 kB / 0.664 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.1588, allocations: 4.031 kB / 0.664 GB, free: 6.406 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.878e-05/0.1589, allocations: 117.8 kB / 0.6641 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.1589, allocations: 0 / 0.6641 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1591, allocations: 76.67 kB / 0.6642 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1592, allocations: 0 / 0.6642 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1592, allocations: 0 / 0.6642 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1592, allocations: 0 / 0.6642 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1593, allocations: 165.6 kB / 0.6643 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1593, allocations: 0 / 0.6643 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.1594, allocations: 19.92 kB / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1594, allocations: 0 / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1594, allocations: 0 / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1594, allocations: 0 / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1594, allocations: 0 / 0.6643 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1597, allocations: 163.5 kB / 0.6645 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.1597, allocations: 77.11 kB / 0.6646 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1597, allocations: 4 kB / 0.6646 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.1598, allocations: 11.98 kB / 0.6646 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.1599, allocations: 0 / 0.6646 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1599, allocations: 0 / 0.6646 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.1599, allocations: 83.27 kB / 0.6647 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1599, allocations: 0 / 0.6647 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002354/0.1601, allocations: 16.03 kB / 0.6647 GB, free: 5.582 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.0001566/0.1603, allocations: 107.2 kB / 0.6648 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1605, allocations: 39.89 kB / 0.6648 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1606, allocations: 0 / 0.6648 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.1606, allocations: 15.98 kB / 0.6648 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.1609, allocations: 17.94 kB / 0.6648 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.1612, allocations: 135.1 kB / 0.665 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.1615, allocations: 0.6768 MB / 0.6656 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1615, allocations: 7.438 kB / 0.6656 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.344e-06/0.1615, allocations: 0 / 0.6656 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.002068/0.1636, allocations: 0.686 MB / 0.6663 GB, free: 3.836 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)