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.007352/0.007352, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001377/0.001377, allocations: 197.5 kB / 16.67 MB, free: 5.977 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.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3915/0.3915, allocations: 54.94 MB / 324.8 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.001528/0.001528, allocations: 71.95 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1832, allocations: 59.59 MB / 0.5037 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegStep): time 0.002566/0.1859, allocations: 0.5403 MB / 0.5043 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003474/0.1862, allocations: 50.06 kB / 0.5043 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.1863, allocations: 1.312 kB / 0.5043 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.1863, allocations: 0 / 0.5043 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 1.006e-05/0.1864, allocations: 3.938 kB / 0.5043 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.1867, allocations: 17.08 kB / 0.5043 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.746e-05/0.1868, allocations: 0.9688 kB / 0.5043 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.127e-05/0.1869, allocations: 1.406 kB / 0.5043 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.1869, allocations: 1.75 kB / 0.5043 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.1869, allocations: 3.984 kB / 0.5043 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1869, allocations: 0 / 0.5043 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1871, allocations: 27.06 kB / 0.5044 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.1871, allocations: 0 / 0.5044 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.1872, allocations: 4 kB / 0.5044 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1873, allocations: 10.2 kB / 0.5044 GB, free: 9.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1873, allocations: 5.156 kB / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1873, allocations: 0 / 0.5044 GB, free: 9.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1873, allocations: 3.938 kB / 0.5044 GB, free: 9.148 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.0002994/0.1876, allocations: 315.5 kB / 0.5047 GB, free: 8.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.1877, allocations: 9.688 kB / 0.5047 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.188, allocations: 17.19 kB / 0.5047 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.845e-05/0.1881, allocations: 165.5 kB / 0.5049 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1881, allocations: 384 / 0.5049 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.1881, allocations: 5.438 kB / 0.5049 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1883, allocations: 36.97 kB / 0.5049 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1883, allocations: 1.062 kB / 0.5049 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1883, allocations: 0 / 0.5049 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1883, allocations: 0 / 0.5049 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.598e-05/0.1884, allocations: 9.578 kB / 0.5049 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.1886, allocations: 151.9 kB / 0.5051 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.1887, allocations: 25.8 kB / 0.5051 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/0.1887, allocations: 12.19 kB / 0.5051 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.1888, allocations: 5 kB / 0.5051 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.1888, allocations: 31.75 kB / 0.5051 GB, free: 8.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.1888, allocations: 0 / 0.5051 GB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002686/0.1891, allocations: 55.89 kB / 0.5052 GB, free: 8.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.1891, allocations: 56.5 kB / 0.5052 GB, free: 8.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.475e-05/0.1892, allocations: 89.86 kB / 0.5053 GB, free: 8.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1892, allocations: 26.86 kB / 0.5053 GB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.864e-05/0.1892, allocations: 80.14 kB / 0.5054 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1892, allocations: 0 / 0.5054 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1893, allocations: 12.03 kB / 0.5054 GB, free: 7.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.1893, allocations: 312 kB / 0.5057 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.1894, allocations: 14.77 kB / 0.5057 GB, free: 7.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.1894, allocations: 2.844 kB / 0.5057 GB, free: 7.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.688e-05/0.1896, allocations: 19.91 kB / 0.5058 GB, free: 7.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1896, allocations: 0 / 0.5058 GB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001239/0.1897, allocations: 47 kB / 0.5058 GB, free: 7.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.1897, allocations: 9.125 kB / 0.5058 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1897, allocations: 1.125 kB / 0.5058 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1898, allocations: 3.984 kB / 0.5058 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.1899, allocations: 3.344 kB / 0.5058 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1899, allocations: 3.984 kB / 0.5058 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.1899, allocations: 1.125 kB / 0.5058 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1899, allocations: 1.094 kB / 0.5058 GB, free: 7.523 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.19, allocations: 110.9 kB / 0.5059 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.19, allocations: 9 kB / 0.506 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.1901, allocations: 11.06 kB / 0.506 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1901, allocations: 0.9688 kB / 0.506 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1901, allocations: 0 / 0.506 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1901, allocations: 1.062 kB / 0.506 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.818e-05/0.1902, allocations: 150.6 kB / 0.5061 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1902, allocations: 0 / 0.5061 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.1902, allocations: 11.64 kB / 0.5061 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1902, allocations: 0 / 0.5061 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.1903, allocations: 0 / 0.5061 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1903, allocations: 5.156 kB / 0.5061 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1903, allocations: 0 / 0.5061 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.1904, allocations: 70.73 kB / 0.5062 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.1904, allocations: 82.23 kB / 0.5063 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.1905, allocations: 1.031 kB / 0.5063 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.1905, allocations: 1.188 kB / 0.5063 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.1905, allocations: 5.031 kB / 0.5063 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1905, allocations: 0 / 0.5063 GB, free: 7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.607e-05/0.1905, allocations: 76.47 kB / 0.5063 GB, free: 6.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1906, allocations: 0 / 0.5063 GB, free: 6.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002003/0.1908, allocations: 1.406 kB / 0.5063 GB, free: 6.926 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 (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.0001199/0.1909, allocations: 97.7 kB / 0.5064 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.191, allocations: 15.48 kB / 0.5065 GB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.1911, allocations: 5.406 kB / 0.5065 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.1911, allocations: 8.062 kB / 0.5065 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.1913, allocations: 1.25 kB / 0.5065 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.1916, allocations: 95.22 kB / 0.5066 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.1918, allocations: 0.6778 MB / 0.5072 GB, free: 6.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.727e-05/0.1918, allocations: 5.938 kB / 0.5072 GB, free: 6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.1918, allocations: 9.344 kB / 0.5072 GB, free: 5.992 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1918, allocations: 0 / 0.5072 GB, free: 5.992 MB / 382.1 MB Notification: Performance of Templates: time 0.002485/0.1943, allocations: 230.1 kB / 0.5075 GB, free: 5.863 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.makefile (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)