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.007552/0.007551, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001335/0.001335, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.625/1.625, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8016/0.8016, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.59 kB / 0.5814 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2384, allocations: 80.21 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.004723/0.2432, allocations: 1.427 MB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.244, allocations: 208.1 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.2441, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.2442, allocations: 0 / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.2443, allocations: 3.938 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005021/0.2449, allocations: 35.89 kB / 0.6613 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.245, allocations: 31.92 kB / 0.6613 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.2452, allocations: 3.984 kB / 0.6613 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.345e-05/0.2453, allocations: 11.94 kB / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.2453, allocations: 7.984 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.2454, allocations: 4 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.2455, allocations: 35.95 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.2456, allocations: 11.92 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.2456, allocations: 11.94 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.2458, allocations: 35.94 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2459, allocations: 0 / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.388e-06/0.2459, allocations: 4 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.2459, allocations: 7.938 kB / 0.6615 GB, free: 11.62 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.0007784/0.2467, allocations: 349.4 kB / 0.6618 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.2468, allocations: 12.03 kB / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.2468, allocations: 4.922 kB / 0.6618 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2471, allocations: 164.4 kB / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2471, allocations: 384 / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.2471, allocations: 384 / 0.662 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.2475, allocations: 54.23 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.2475, allocations: 192 / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-05/0.2476, allocations: 7.938 kB / 0.662 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2476, allocations: 0 / 0.662 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.2479, allocations: 31.97 kB / 0.6621 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.2484, allocations: 252.9 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.2487, allocations: 42.5 kB / 0.6624 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.2488, allocations: 24.89 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.2489, allocations: 77.11 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.249, allocations: 38.56 kB / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.249, allocations: 0 / 0.6625 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005073/0.2495, allocations: 89.48 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.2496, allocations: 51.41 kB / 0.6626 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2497, allocations: 101.8 kB / 0.6627 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2498, allocations: 25.7 kB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.2498, allocations: 88.14 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.2499, allocations: 3.906 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/0.2499, allocations: 13.84 kB / 0.6628 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2501, allocations: 322.8 kB / 0.6632 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.2502, allocations: 15.97 kB / 0.6632 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.2504, allocations: 19.98 kB / 0.6632 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.2506, allocations: 32.83 kB / 0.6632 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2506, allocations: 4.062 kB / 0.6632 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003152/0.2509, allocations: 73.53 kB / 0.6633 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.251, allocations: 4 kB / 0.6633 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.251, allocations: 4 kB / 0.6633 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.251, allocations: 0 / 0.6633 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.2512, allocations: 7.984 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2512, allocations: 3.938 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.726e-05/0.2513, allocations: 11.92 kB / 0.6633 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2513, allocations: 4.031 kB / 0.6633 GB, free: 9.484 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 0.0001248/0.2514, allocations: 117.8 kB / 0.6634 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.2515, allocations: 0 / 0.6634 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.2519, allocations: 76.72 kB / 0.6635 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2519, allocations: 0 / 0.6635 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.2519, allocations: 0 / 0.6635 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2519, allocations: 0 / 0.6635 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.2522, allocations: 165.6 kB / 0.6637 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.2522, allocations: 4 kB / 0.6637 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.2523, allocations: 7.984 kB / 0.6637 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2523, allocations: 0 / 0.6637 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2523, allocations: 0 / 0.6637 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2523, allocations: 256 / 0.6637 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2523, allocations: 4 kB / 0.6637 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.2526, allocations: 171.4 kB / 0.6638 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.2526, allocations: 81.11 kB / 0.6639 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2527, allocations: 3.984 kB / 0.6639 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.2527, allocations: 7.984 kB / 0.6639 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.2528, allocations: 3.938 kB / 0.6639 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2528, allocations: 0 / 0.6639 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.2529, allocations: 83.28 kB / 0.664 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2529, allocations: 4 kB / 0.664 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000245/0.2531, allocations: 12.03 kB / 0.664 GB, free: 8.652 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.0002599/0.2534, allocations: 103.2 kB / 0.6641 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.2536, allocations: 35.97 kB / 0.6642 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2537, allocations: 0 / 0.6642 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.2537, allocations: 23.97 kB / 0.6642 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.2541, allocations: 10.56 kB / 0.6642 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.2546, allocations: 117.4 kB / 0.6643 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.255, allocations: 0.6806 MB / 0.665 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.255, allocations: 0 / 0.665 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.2551, allocations: 11.44 kB / 0.665 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of SimCode: time 3.075e-06/0.2551, allocations: 0 / 0.665 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of Templates: time 0.003092/0.2582, allocations: 0.5743 MB / 0.6655 GB, free: 7.043 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)