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/Complex 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) 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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 170.6 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7917/0.7917, allocations: 130.7 MB / 138.7 MB, free: 3.586 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.5 MB / 391.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008456/0.0008456, allocations: 101.8 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.378e-05/1.379e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.4991, allocations: 81.58 MB / 0.6282 GB, free: 42.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.6474, allocations: 110.4 MB / 0.736 GB, free: 360 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.6477, allocations: 71.95 kB / 0.7361 GB, free: 288 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003816/0.6515, allocations: 1.352 MB / 0.7374 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.634e-06/0.6515, allocations: 0 / 0.7374 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.6515, allocations: 0 / 0.7374 GB, free: 14.93 MB / 0.5261 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.0003678/0.6519, allocations: 350.4 kB / 0.7377 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.652, allocations: 8.031 kB / 0.7377 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.652, allocations: 3.906 kB / 0.7377 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.6521, allocations: 173.5 kB / 0.7379 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.6522, allocations: 0 / 0.7379 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.6522, allocations: 0 / 0.7379 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.466e-05/0.6522, allocations: 12 kB / 0.7379 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.369e-05/0.6523, allocations: 41.62 kB / 0.7379 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6523, allocations: 0 / 0.7379 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.6524, allocations: 0 / 0.7379 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.6524, allocations: 4 kB / 0.7379 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.6528, allocations: 241.4 kB / 0.7382 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.529e-05/0.6528, allocations: 26.58 kB / 0.7382 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.734e-05/0.6529, allocations: 12.95 kB / 0.7382 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.653, allocations: 86.05 kB / 0.7383 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.653, allocations: 34.56 kB / 0.7383 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.653, allocations: 3.984 kB / 0.7383 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001898/0.6532, allocations: 41.64 kB / 0.7384 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.6532, allocations: 51.41 kB / 0.7384 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.341e-05/0.6533, allocations: 92.98 kB / 0.7385 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.6534, allocations: 25.7 kB / 0.7385 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.6534, allocations: 96.08 kB / 0.7386 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.6534, allocations: 0 / 0.7386 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.6534, allocations: 0 / 0.7386 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6536, allocations: 318.7 kB / 0.7389 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.6536, allocations: 8 kB / 0.7389 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.6536, allocations: 4 kB / 0.7389 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.6537, allocations: 11.98 kB / 0.739 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6537, allocations: 0 / 0.739 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.402e-05/0.6537, allocations: 45.67 kB / 0.739 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.6538, allocations: 9.719 kB / 0.739 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.6538, allocations: 0 / 0.739 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6538, allocations: 3.938 kB / 0.739 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.6539, allocations: 11.98 kB / 0.739 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6539, allocations: 3.938 kB / 0.739 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.654, allocations: 11.98 kB / 0.739 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.654, allocations: 0.875 kB / 0.739 GB, free: 13.02 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.731e-05/0.6541, allocations: 109 kB / 0.7391 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.6541, allocations: 0 / 0.7391 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.6542, allocations: 49.44 kB / 0.7392 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6542, allocations: 0 / 0.7392 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6542, allocations: 0 / 0.7392 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.6542, allocations: 0 / 0.7392 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.6544, allocations: 142.2 kB / 0.7393 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6544, allocations: 256 / 0.7393 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.438e-05/0.6545, allocations: 16.03 kB / 0.7393 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.6545, allocations: 4 kB / 0.7393 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.6545, allocations: 0 / 0.7393 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.6545, allocations: 3.938 kB / 0.7393 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6545, allocations: 0.5469 kB / 0.7393 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.6547, allocations: 135.5 kB / 0.7395 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.6547, allocations: 84.97 kB / 0.7396 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.829e-06/0.6547, allocations: 4.031 kB / 0.7396 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.6548, allocations: 15.98 kB / 0.7396 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.6548, allocations: 0 / 0.7396 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6549, allocations: 0 / 0.7396 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.6549, allocations: 83.27 kB / 0.7397 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6549, allocations: 0 / 0.7397 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002168/0.6551, allocations: 19.94 kB / 0.7397 GB, free: 12.28 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001636/0.6553, allocations: 107.2 kB / 0.7398 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.686e-05/0.6554, allocations: 15.94 kB / 0.7398 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.6554, allocations: 4 kB / 0.7398 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-05/0.6554, allocations: 8 kB / 0.7398 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.6555, allocations: 7.922 kB / 0.7398 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001618/0.6557, allocations: 63.89 kB / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.656, allocations: 0.6806 MB / 0.7405 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.656, allocations: 8.109 kB / 0.7405 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.6561, allocations: 11.44 kB / 0.7406 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6561, allocations: 0 / 0.7406 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.00189/0.658, allocations: 439.8 kB / 0.741 GB, free: 10.89 MB / 0.5261 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)