Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") translateModel(Annex60.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001863/0.001863, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 194.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4891/0.4891, allocations: 54.95 MB / 324.7 MB, free: 15.89 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001823, allocations: 68.47 kB / 395.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1494, allocations: 59.59 MB / 454.9 MB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothExponential): time 0.2919/0.4413, allocations: 1.402 MB / 456.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.4418, allocations: 174.4 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.4418, allocations: 5.156 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.4419, allocations: 2.625 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.276e-05/0.442, allocations: 2.625 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.4423, allocations: 40.66 kB / 456.5 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.4423, allocations: 19.11 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.533e-05/0.4424, allocations: 9.766 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.4425, allocations: 11.05 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.598e-05/0.4425, allocations: 18.67 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.4425, allocations: 2.656 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.4426, allocations: 37.67 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.4426, allocations: 0.75 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.4427, allocations: 10.55 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.4428, allocations: 41.12 kB / 456.7 MB, free: 38.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4428, allocations: 0 / 456.7 MB, free: 38.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4428, allocations: 0 / 456.7 MB, free: 38.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4428, allocations: 0 / 456.7 MB, free: 38.97 MB / 382.1 MB 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.0004027/0.4432, allocations: 347.3 kB / 457 MB, free: 38.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4433, allocations: 8.75 kB / 457 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.4433, allocations: 3.156 kB / 457 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.4434, allocations: 176.3 kB / 457.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.4434, allocations: 4.031 kB / 457.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.4434, allocations: 3.375 kB / 457.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4436, allocations: 53.84 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4436, allocations: 0.75 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.4436, allocations: 1.312 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4436, allocations: 4.719 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.4438, allocations: 33.39 kB / 457.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.4441, allocations: 252.9 kB / 457.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.4442, allocations: 38.47 kB / 457.6 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.4443, allocations: 19.91 kB / 457.6 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.4444, allocations: 85.86 kB / 457.7 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.4445, allocations: 34.19 kB / 457.7 MB, free: 37.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4445, allocations: 0 / 457.7 MB, free: 37.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003847/0.4449, allocations: 86.12 kB / 457.8 MB, free: 37.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.4449, allocations: 57.31 kB / 457.9 MB, free: 37.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.445, allocations: 103.7 kB / 458 MB, free: 37.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.445, allocations: 25.7 kB / 458 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.445, allocations: 87.58 kB / 458.1 MB, free: 37.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.445, allocations: 3.906 kB / 458.1 MB, free: 37.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.4451, allocations: 15.62 kB / 458.1 MB, free: 37.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.4451, allocations: 318 kB / 458.4 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.4452, allocations: 19.78 kB / 458.4 MB, free: 37.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.4453, allocations: 16.62 kB / 458.4 MB, free: 37.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4455, allocations: 48.64 kB / 458.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4455, allocations: 0 / 458.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.4457, allocations: 64.77 kB / 458.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4457, allocations: 5.75 kB / 458.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4457, allocations: 0.5 kB / 458.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4457, allocations: 0 / 458.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.4458, allocations: 12.66 kB / 458.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4458, allocations: 3.438 kB / 458.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.4459, allocations: 8.922 kB / 458.6 MB, free: 37.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.4459, allocations: 0.5 kB / 458.6 MB, free: 37.27 MB / 382.1 MB 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 5.224e-05/0.446, allocations: 117.4 kB / 458.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.446, allocations: 1.312 kB / 458.7 MB, free: 37.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.4462, allocations: 71.55 kB / 458.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4462, allocations: 0 / 458.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4462, allocations: 3.031 kB / 458.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.4462, allocations: 1.219 kB / 458.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.4464, allocations: 164.2 kB / 458.9 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4464, allocations: 0 / 458.9 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.458e-05/0.4464, allocations: 10.38 kB / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4464, allocations: 0.5938 kB / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.4465, allocations: 4.906 kB / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4465, allocations: 0.625 kB / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4465, allocations: 0 / 459 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.4467, allocations: 172.7 kB / 459.1 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.4467, allocations: 77.11 kB / 459.2 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.4467, allocations: 0.75 kB / 459.2 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.4468, allocations: 7.891 kB / 459.2 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.4469, allocations: 3.578 kB / 459.2 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4469, allocations: 2.094 kB / 459.2 MB, free: 36.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.83e-05/0.4469, allocations: 89.41 kB / 459.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4469, allocations: 1.781 kB / 459.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.4471, allocations: 9.469 kB / 459.3 MB, free: 36.62 MB / 382.1 MB 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.0001373/0.4473, allocations: 105.9 kB / 459.4 MB, free: 36.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.4475, allocations: 40.47 kB / 459.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4475, allocations: 0 / 459.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.4476, allocations: 22.77 kB / 459.5 MB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.4479, allocations: 8.344 kB / 459.5 MB, free: 36.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.4482, allocations: 116.2 kB / 459.6 MB, free: 36.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.4484, allocations: 0.6756 MB / 460.3 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.438e-05/0.4484, allocations: 3.688 kB / 460.3 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.4484, allocations: 7.438 kB / 460.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4484, allocations: 0 / 460.3 MB, free: 35.73 MB / 382.1 MB Notification: Performance of Templates: time 0.002723/0.4511, allocations: 0.5732 MB / 460.9 MB, free: 35.7 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)