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.001235/0.001235, 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.001423/0.001423, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.673/1.673, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4271/0.4271, allocations: 54.95 MB / 324.7 MB, free: 15.97 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.001451/0.001451, allocations: 64.47 kB / 395.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1427, allocations: 59.6 MB / 454.9 MB, free: 168 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.2871/0.4299, allocations: 1.428 MB / 456.3 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.4312, allocations: 0.5815 MB / 456.9 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.4313, allocations: 2.516 kB / 456.9 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.96e-05/0.4314, allocations: 1.781 kB / 456.9 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.4315, allocations: 8.766 kB / 456.9 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.4319, allocations: 48.38 kB / 457 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.432, allocations: 33.88 kB / 457 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.4321, allocations: 7.125 kB / 457 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4323, allocations: 14.73 kB / 457 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.4324, allocations: 14.42 kB / 457.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.4324, allocations: 6.344 kB / 457.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.4325, allocations: 50.09 kB / 457.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.4325, allocations: 8.484 kB / 457.1 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.4326, allocations: 15.5 kB / 457.1 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.4328, allocations: 64.38 kB / 457.2 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.4328, allocations: 1.469 kB / 457.2 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4328, allocations: 0 / 457.2 MB, free: 38.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4328, allocations: 3.062 kB / 457.2 MB, free: 38.75 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.0005184/0.4333, allocations: 347.2 kB / 457.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4334, allocations: 8.969 kB / 457.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.4334, allocations: 6.531 kB / 457.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.4336, allocations: 170.7 kB / 457.7 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4336, allocations: 7.938 kB / 457.7 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.4336, allocations: 4.125 kB / 457.7 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.4338, allocations: 44.27 kB / 457.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4338, allocations: 1.219 kB / 457.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4338, allocations: 0 / 457.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4338, allocations: 1.188 kB / 457.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.952e-05/0.434, allocations: 22.44 kB / 457.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.4343, allocations: 254.8 kB / 458 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.451e-05/0.4344, allocations: 30.78 kB / 458.1 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.72e-05/0.4345, allocations: 18.62 kB / 458.1 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007297/0.4352, allocations: 476.7 kB / 458.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.4352, allocations: 36.45 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4352, allocations: 0 / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002635/0.4355, allocations: 65.7 kB / 458.7 MB, free: 37.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.4356, allocations: 56.28 kB / 458.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.4356, allocations: 109.6 kB / 458.8 MB, free: 37.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.4357, allocations: 26.48 kB / 458.9 MB, free: 37.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.4357, allocations: 88.41 kB / 458.9 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.4357, allocations: 11.89 kB / 458.9 MB, free: 37.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.4358, allocations: 20.44 kB / 459 MB, free: 37.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.4358, allocations: 315.5 kB / 459.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.4359, allocations: 13.47 kB / 459.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.4359, allocations: 6.531 kB / 459.3 MB, free: 36.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/0.436, allocations: 27.47 kB / 459.3 MB, free: 36.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.436, allocations: 0 / 459.3 MB, free: 36.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001047/0.4361, allocations: 60.05 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4361, allocations: 6.281 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4362, allocations: 0 / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4362, allocations: 0.8125 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.4363, allocations: 10.22 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4363, allocations: 1.375 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.208e-05/0.4363, allocations: 3.688 kB / 459.4 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.4363, allocations: 0.8594 kB / 459.4 MB, free: 36.66 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 6.016e-05/0.4364, allocations: 117.5 kB / 459.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.4364, allocations: 0 / 459.5 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.4366, allocations: 66.38 kB / 459.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.4366, allocations: 3.938 kB / 459.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4366, allocations: 1.5 kB / 459.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4366, allocations: 4.016 kB / 459.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.4368, allocations: 166.1 kB / 459.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4368, allocations: 0 / 459.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/0.4368, allocations: 10.81 kB / 459.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4368, allocations: 0 / 459.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.4368, allocations: 3 kB / 459.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4368, allocations: 0 / 459.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4369, allocations: 3.156 kB / 459.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.437, allocations: 156.8 kB / 459.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.437, allocations: 79.59 kB / 460 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.4371, allocations: 2.906 kB / 460 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.4371, allocations: 3.609 kB / 460 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.4372, allocations: 2.906 kB / 460 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.4372, allocations: 1.781 kB / 460 MB, free: 36.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.4372, allocations: 89.86 kB / 460.1 MB, free: 36.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4372, allocations: 0 / 460.1 MB, free: 36.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.4375, allocations: 15.44 kB / 460.1 MB, free: 36 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.0001625/0.4376, allocations: 111.5 kB / 460.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.4378, allocations: 24.61 kB / 460.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4378, allocations: 0 / 460.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.4379, allocations: 19.05 kB / 460.3 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.4381, allocations: 2.906 kB / 460.3 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.4384, allocations: 128 kB / 460.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.4386, allocations: 0.6834 MB / 461.1 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.214e-05/0.4386, allocations: 4.016 kB / 461.1 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.769e-05/0.4386, allocations: 7.438 kB / 461.1 MB, free: 35.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4386, allocations: 0 / 461.1 MB, free: 35.11 MB / 382.1 MB Notification: Performance of Templates: time 0.003165/0.4418, allocations: 0.6698 MB / 461.8 MB, free: 35.05 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile (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)