Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001304/0.001304, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.435/0.435, allocations: 55.01 MB / 325.4 MB, free: 0.6758 MB / 254.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.0005784/0.0005784, allocations: 16 kB / 396.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.4429, allocations: 60.72 MB / 457.4 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.001612/0.4446, allocations: 1.148 MB / 458.5 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.4454, allocations: 0.5431 MB / 459.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.4455, allocations: 3.125 kB / 459.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.4455, allocations: 0.9688 kB / 459.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-05/0.4456, allocations: 8.516 kB / 459.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.4458, allocations: 40.06 kB / 459.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.4459, allocations: 20.14 kB / 459.1 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.446, allocations: 8.766 kB / 459.1 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.571e-05/0.4461, allocations: 16.05 kB / 459.2 MB, free: 38.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.4461, allocations: 13.78 kB / 459.2 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.4462, allocations: 0 / 459.2 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.795e-05/0.4463, allocations: 47.2 kB / 459.2 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.4463, allocations: 2.578 kB / 459.2 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.836e-05/0.4463, allocations: 36.7 kB / 459.2 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.417e-05/0.4464, allocations: 42.8 kB / 459.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4464, allocations: 0 / 459.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4464, allocations: 0.7812 kB / 459.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.4464, allocations: 0.6562 kB / 459.3 MB, free: 38.54 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.000329/0.4468, allocations: 355.8 kB / 459.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4468, allocations: 8.844 kB / 459.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.4469, allocations: 2.938 kB / 459.7 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.293e-05/0.4469, allocations: 165.7 kB / 459.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.447, allocations: 0 / 459.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.447, allocations: 0 / 459.8 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.4471, allocations: 49.45 kB / 459.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4471, allocations: 0 / 459.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.4471, allocations: 0 / 459.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.4471, allocations: 0 / 459.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.069e-05/0.4472, allocations: 27.39 kB / 459.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.4475, allocations: 261.6 kB / 460.1 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.4476, allocations: 37.25 kB / 460.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.4477, allocations: 21.22 kB / 460.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000641/0.4483, allocations: 499.6 kB / 460.7 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4483, allocations: 34.52 kB / 460.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.4484, allocations: 0.8125 kB / 460.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002202/0.4486, allocations: 76.28 kB / 460.8 MB, free: 37.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.4486, allocations: 54.55 kB / 460.9 MB, free: 37.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.663e-05/0.4487, allocations: 111.3 kB / 461 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.4487, allocations: 27.2 kB / 461 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.4487, allocations: 80.14 kB / 461.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.4487, allocations: 11.16 kB / 461.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.4487, allocations: 0 / 461.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.038e-05/0.4488, allocations: 318.3 kB / 461.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.4489, allocations: 10.41 kB / 461.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.019e-05/0.4489, allocations: 13.42 kB / 461.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.4489, allocations: 15.58 kB / 461.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4489, allocations: 0 / 461.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.754e-05/0.449, allocations: 58.34 kB / 461.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4491, allocations: 10.61 kB / 461.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4491, allocations: 1.094 kB / 461.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4491, allocations: 3.328 kB / 461.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.4492, allocations: 6.625 kB / 461.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.4492, allocations: 0.5312 kB / 461.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.4492, allocations: 3.844 kB / 461.5 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4492, allocations: 6.031 kB / 461.5 MB, free: 36.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.4493, allocations: 111 kB / 461.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.4493, allocations: 8.344 kB / 461.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.4495, allocations: 76.36 kB / 461.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4495, allocations: 0.9375 kB / 461.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4495, allocations: 0 / 461.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4495, allocations: 1.438 kB / 461.7 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.4496, allocations: 161.6 kB / 461.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4496, allocations: 0 / 461.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.4497, allocations: 12.23 kB / 461.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4497, allocations: 0 / 461.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.4497, allocations: 3.938 kB / 461.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4497, allocations: 3.953 kB / 461.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4497, allocations: 0 / 461.9 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.4498, allocations: 150.6 kB / 462 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.4499, allocations: 83.95 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.4499, allocations: 4.469 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.522e-05/0.4499, allocations: 3.062 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.45, allocations: 10.77 kB / 462.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.45, allocations: 2.812 kB / 462.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.45, allocations: 94.53 kB / 462.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.45, allocations: 0 / 462.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.4503, allocations: 15.56 kB / 462.2 MB, free: 35.8 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 (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.000125/0.4504, allocations: 112.2 kB / 462.4 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.4505, allocations: 27.95 kB / 462.4 MB, free: 35.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4505, allocations: 4.062 kB / 462.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.4506, allocations: 11.34 kB / 462.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.4508, allocations: 9.281 kB / 462.4 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.4511, allocations: 139.2 kB / 462.5 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.4512, allocations: 0.6802 MB / 463.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.484e-05/0.4512, allocations: 5.5 kB / 463.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.4513, allocations: 8.562 kB / 463.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4513, allocations: 1.156 kB / 463.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of Templates: time 0.003138/0.4544, allocations: 0.6238 MB / 463.9 MB, free: 34.84 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: