Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.004613/0.004614, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.00101/0.00101, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9272/0.9272, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 67.91 kB / 0.5856 GB, free: 3.383 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4441, allocations: 80.92 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002821/0.447, allocations: 1.435 MB / 0.666 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004347/0.4474, allocations: 194.7 kB / 0.6662 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.4475, allocations: 5.312 kB / 0.6662 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.4475, allocations: 0 / 0.6662 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-05/0.4476, allocations: 5.188 kB / 0.6662 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.4479, allocations: 37.08 kB / 0.6663 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.659e-05/0.4479, allocations: 20.67 kB / 0.6663 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.4481, allocations: 7.844 kB / 0.6663 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.4481, allocations: 7.906 kB / 0.6663 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.282e-05/0.4482, allocations: 18.38 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.4482, allocations: 2.781 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.891e-05/0.4483, allocations: 35.84 kB / 0.6664 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.4483, allocations: 9.266 kB / 0.6664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.4483, allocations: 5.344 kB / 0.6664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.4485, allocations: 46.78 kB / 0.6664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4485, allocations: 1.375 kB / 0.6664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4485, allocations: 0 / 0.6664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.4485, allocations: 0 / 0.6664 GB, free: 6.207 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.0004051/0.4489, allocations: 346.4 kB / 0.6668 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.449, allocations: 13.98 kB / 0.6668 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.449, allocations: 10 kB / 0.6668 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/0.4491, allocations: 161.7 kB / 0.6669 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4491, allocations: 2.062 kB / 0.6669 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.4491, allocations: 5.781 kB / 0.6669 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.4493, allocations: 49.8 kB / 0.667 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4493, allocations: 192 / 0.667 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4493, allocations: 7.875 kB / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4493, allocations: 0 / 0.667 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.4495, allocations: 39.23 kB / 0.667 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.4498, allocations: 246.4 kB / 0.6673 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.4499, allocations: 42.91 kB / 0.6673 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/0.45, allocations: 26.55 kB / 0.6673 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.863e-05/0.4501, allocations: 84.27 kB / 0.6674 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.4501, allocations: 30.56 kB / 0.6674 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4501, allocations: 0 / 0.6674 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003243/0.4504, allocations: 84.92 kB / 0.6675 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.4505, allocations: 52.78 kB / 0.6676 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.4505, allocations: 108.3 kB / 0.6677 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.4506, allocations: 29.7 kB / 0.6677 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.4506, allocations: 85.77 kB / 0.6678 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.4506, allocations: 5.125 kB / 0.6678 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.4506, allocations: 11.12 kB / 0.6678 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.4507, allocations: 316.2 kB / 0.6681 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.4508, allocations: 21.39 kB / 0.6681 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/0.4508, allocations: 17.11 kB / 0.6681 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.451, allocations: 40.36 kB / 0.6682 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.451, allocations: 0 / 0.6682 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000166/0.4512, allocations: 68.78 kB / 0.6682 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4512, allocations: 5.812 kB / 0.6683 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4512, allocations: 0 / 0.6683 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.4512, allocations: 4.094 kB / 0.6683 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.4513, allocations: 15.2 kB / 0.6683 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.4513, allocations: 0 / 0.6683 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.4514, allocations: 7.641 kB / 0.6683 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.4514, allocations: 2.156 kB / 0.6683 GB, free: 4.281 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 4.708e-05/0.4514, allocations: 115.3 kB / 0.6684 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.4514, allocations: 1.438 kB / 0.6684 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.4516, allocations: 73.02 kB / 0.6685 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4517, allocations: 5.312 kB / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4517, allocations: 0 / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4517, allocations: 1.562 kB / 0.6685 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.4518, allocations: 161.2 kB / 0.6686 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4518, allocations: 1.219 kB / 0.6686 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.4519, allocations: 14.27 kB / 0.6686 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4519, allocations: 3.938 kB / 0.6686 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.4519, allocations: 0 / 0.6686 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4519, allocations: 5.469 kB / 0.6686 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4519, allocations: 0 / 0.6686 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.4521, allocations: 167.5 kB / 0.6688 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.4521, allocations: 78.33 kB / 0.6689 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.4521, allocations: 0 / 0.6689 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.4522, allocations: 11.98 kB / 0.6689 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.4522, allocations: 5.375 kB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.4522, allocations: 1.25 kB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.818e-05/0.4523, allocations: 78.84 kB / 0.669 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4523, allocations: 0 / 0.669 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002226/0.4525, allocations: 9.531 kB / 0.669 GB, free: 3.543 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.0001661/0.4527, allocations: 110.3 kB / 0.6691 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.4529, allocations: 45.91 kB / 0.6691 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4529, allocations: 0 / 0.6691 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.453, allocations: 19.81 kB / 0.6691 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.4532, allocations: 9.062 kB / 0.6692 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.4535, allocations: 112.6 kB / 0.6693 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.4536, allocations: 0.6778 MB / 0.6699 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.4537, allocations: 9.609 kB / 0.6699 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.4537, allocations: 8.75 kB / 0.6699 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.4537, allocations: 0 / 0.6699 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of Templates: time 0.002711/0.4564, allocations: 0.5791 MB / 0.6705 GB, free: 2.27 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)