Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") translateModel(Annex60.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.000949, allocations: 92 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.001055/0.001056, 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.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4193/0.4193, allocations: 55.01 MB / 325.4 MB, free: 0.6836 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.0005631/0.0005632, allocations: 16 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4388, allocations: 60.72 MB / 457.4 MB, free: 39.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegStep): time 0.0007743/0.4396, allocations: 273.8 kB / 457.6 MB, free: 39.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002684/0.4399, allocations: 49.34 kB / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.129e-05/0.4399, allocations: 0 / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.44, allocations: 4.094 kB / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.743e-06/0.44, allocations: 0 / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.4402, allocations: 8.797 kB / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.533e-05/0.4402, allocations: 3.812 kB / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.4403, allocations: 0 / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.551e-05/0.4403, allocations: 4.281 kB / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.4404, allocations: 1.75 kB / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.4404, allocations: 0 / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.4405, allocations: 25.91 kB / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.764e-06/0.4405, allocations: 2.969 kB / 457.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.4405, allocations: 25.7 kB / 457.8 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.21e-05/0.4406, allocations: 13.02 kB / 457.8 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4406, allocations: 1.594 kB / 457.8 MB, free: 39.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4406, allocations: 0 / 457.8 MB, free: 39.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.4406, allocations: 0 / 457.8 MB, free: 39.11 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002067/0.4408, allocations: 314.9 kB / 458.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4409, allocations: 9.406 kB / 458.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002567/0.4411, allocations: 20.83 kB / 458.1 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.626e-05/0.4412, allocations: 162.5 kB / 458.3 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.4412, allocations: 1.188 kB / 458.3 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.4412, allocations: 2.562 kB / 458.3 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4414, allocations: 40.73 kB / 458.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4414, allocations: 0 / 458.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.4414, allocations: 2.844 kB / 458.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4414, allocations: 0 / 458.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.986e-05/0.4415, allocations: 8.922 kB / 458.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.4416, allocations: 149.8 kB / 458.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.391e-05/0.4417, allocations: 26.78 kB / 458.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.4417, allocations: 11 kB / 458.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.4417, allocations: 1.719 kB / 458.5 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.4418, allocations: 34.56 kB / 458.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4418, allocations: 0.8125 kB / 458.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.000206/0.442, allocations: 49.38 kB / 458.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.442, allocations: 56.66 kB / 458.7 MB, free: 38.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.107e-05/0.4421, allocations: 89.86 kB / 458.7 MB, free: 38.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.4421, allocations: 25.7 kB / 458.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.463e-05/0.4421, allocations: 81.52 kB / 458.8 MB, free: 37.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.4421, allocations: 2.109 kB / 458.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4421, allocations: 4.938 kB / 458.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.4422, allocations: 316.2 kB / 459.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.4422, allocations: 6.234 kB / 459.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.4423, allocations: 4.219 kB / 459.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/0.4423, allocations: 10.52 kB / 459.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4423, allocations: 0 / 459.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.306e-05/0.4424, allocations: 43.33 kB / 459.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4425, allocations: 6.156 kB / 459.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4425, allocations: 1.031 kB / 459.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.4425, allocations: 0 / 459.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.4426, allocations: 4.812 kB / 459.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4426, allocations: 4.625 kB / 459.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.4426, allocations: 7.812 kB / 459.3 MB, free: 37.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.4426, allocations: 0.5625 kB / 459.3 MB, free: 37.62 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 (1): * Single equations (assignments): 1 * 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.938e-05/0.4427, allocations: 113.8 kB / 459.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-06/0.4427, allocations: 0 / 459.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.4427, allocations: 3.812 kB / 459.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4427, allocations: 0.6094 kB / 459.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4428, allocations: 5.344 kB / 459.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4428, allocations: 2.719 kB / 459.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.594e-05/0.4428, allocations: 151.5 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4428, allocations: 0 / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.4429, allocations: 4.156 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4429, allocations: 3.234 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4429, allocations: 2.531 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4429, allocations: 0.8125 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4429, allocations: 1.078 kB / 459.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.443, allocations: 71.72 kB / 459.6 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.4431, allocations: 77.95 kB / 459.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4431, allocations: 4.844 kB / 459.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.4431, allocations: 3.094 kB / 459.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.4432, allocations: 0.5938 kB / 459.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.4432, allocations: 4.125 kB / 459.7 MB, free: 37.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.587e-05/0.4432, allocations: 75.28 kB / 459.8 MB, free: 37.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4432, allocations: 3.5 kB / 459.8 MB, free: 37.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.4435, allocations: 2.656 kB / 459.8 MB, free: 37.07 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 (1): * Single equations (assignments): 1 * 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.0001015/0.4436, allocations: 93.78 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.4437, allocations: 15.92 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4437, allocations: 2.625 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.4437, allocations: 8.25 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.4439, allocations: 4.656 kB / 459.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.4441, allocations: 83.84 kB / 460 MB, free: 36.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.4442, allocations: 0.6841 MB / 460.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.4443, allocations: 3.047 kB / 460.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.254e-05/0.4443, allocations: 13.84 kB / 460.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4443, allocations: 0.75 kB / 460.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of Templates: time 0.00222/0.4465, allocations: 209.3 kB / 460.9 MB, free: 36.16 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: