Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset") translateModel(Annex60.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.309/0.309, allocations: 54.42 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001125/0.001125, allocations: 179.6 kB / 75.61 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.986/1.986, allocations: 194.3 MB / 283.5 MB, free: 14.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001809/0.001809, allocations: 114.6 kB / 341.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.06e-05/2.062e-05, allocations: 4 kB / 405.5 MB, free: 4.125 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4304, allocations: 57.65 MB / 463.1 MB, free: 51.76 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.5705, allocations: 86.77 MB / 0.537 GB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5708, allocations: 72.86 kB / 0.5371 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01265/0.5834, allocations: 3.419 MB / 0.5404 GB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.5835, allocations: 3.984 kB / 0.5404 GB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.5835, allocations: 5.906 kB / 0.5404 GB, free: 10.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007002/0.5842, allocations: 436.5 kB / 0.5409 GB, free: 10.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5843, allocations: 14.81 kB / 0.5409 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.418e-05/0.5844, allocations: 15.81 kB / 0.5409 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.5847, allocations: 220.2 kB / 0.5411 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.5848, allocations: 7.938 kB / 0.5411 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.5848, allocations: 11.91 kB / 0.5411 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001433/0.585, allocations: 37.42 kB / 0.5412 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.5852, allocations: 126.8 kB / 0.5413 GB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5853, allocations: 3.938 kB / 0.5413 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.5853, allocations: 4 kB / 0.5413 GB, free: 9.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.5853, allocations: 4 kB / 0.5413 GB, free: 9.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.5865, allocations: 0.7201 MB / 0.542 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.439e-05/0.5866, allocations: 30.58 kB / 0.542 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.5867, allocations: 21.02 kB / 0.542 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.5867, allocations: 3.984 kB / 0.542 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.5869, allocations: 110.9 kB / 0.5422 GB, free: 9.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.5869, allocations: 0 / 0.5422 GB, free: 9.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002871/0.5872, allocations: 105.4 kB / 0.5423 GB, free: 8.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.5873, allocations: 128.5 kB / 0.5424 GB, free: 8.742 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.5875, allocations: 155 kB / 0.5425 GB, free: 8.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.5875, allocations: 25.7 kB / 0.5425 GB, free: 8.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.5877, allocations: 139.8 kB / 0.5427 GB, free: 8.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.5877, allocations: 27.53 kB / 0.5427 GB, free: 8.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.5877, allocations: 0 / 0.5427 GB, free: 8.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5879, allocations: 330.8 kB / 0.543 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.545e-05/0.588, allocations: 21.25 kB / 0.543 GB, free: 8.031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.5881, allocations: 128.8 kB / 0.5432 GB, free: 7.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.5882, allocations: 43.91 kB / 0.5432 GB, free: 7.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5883, allocations: 4 kB / 0.5432 GB, free: 7.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000368/0.5886, allocations: 145.9 kB / 0.5434 GB, free: 7.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5887, allocations: 11.98 kB / 0.5434 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5887, allocations: 4 kB / 0.5434 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.5887, allocations: 4 kB / 0.5434 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.5889, allocations: 50 kB / 0.5434 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.589, allocations: 11.94 kB / 0.5434 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.5892, allocations: 23.92 kB / 0.5435 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.5892, allocations: 11.09 kB / 0.5435 GB, free: 7.551 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001184/0.5894, allocations: 112.9 kB / 0.5436 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.5894, allocations: 23.75 kB / 0.5436 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.5895, allocations: 13.84 kB / 0.5436 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5895, allocations: 4 kB / 0.5436 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5895, allocations: 7.953 kB / 0.5436 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5895, allocations: 7.984 kB / 0.5436 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.5903, allocations: 458.2 kB / 0.5441 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5903, allocations: 1.75 kB / 0.5441 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.5905, allocations: 23.98 kB / 0.5441 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5905, allocations: 0 / 0.5441 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.5906, allocations: 11.98 kB / 0.5441 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.5906, allocations: 3.953 kB / 0.5441 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.5906, allocations: 4 kB / 0.5441 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.5911, allocations: 346 kB / 0.5444 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.5912, allocations: 88.92 kB / 0.5445 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.5912, allocations: 8 kB / 0.5445 GB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.5915, allocations: 16.03 kB / 0.5445 GB, free: 6.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.5916, allocations: 15.97 kB / 0.5446 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.5916, allocations: 4 kB / 0.5446 GB, free: 6.316 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.5917, allocations: 123.7 kB / 0.5447 GB, free: 6.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5917, allocations: 0 / 0.5447 GB, free: 6.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005723/0.5923, allocations: 24 kB / 0.5447 GB, free: 6.176 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulsStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001557/0.5925, allocations: 112.4 kB / 0.5448 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.5927, allocations: 75.88 kB / 0.5449 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5928, allocations: 4.062 kB / 0.5449 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.5929, allocations: 43.67 kB / 0.5449 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.5935, allocations: 52.5 kB / 0.545 GB, free: 5.895 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.5943, allocations: 258.5 kB / 0.5452 GB, free: 5.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.5947, allocations: 0.7281 MB / 0.5459 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.5948, allocations: 17.33 kB / 0.546 GB, free: 4.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.5949, allocations: 19.44 kB / 0.546 GB, free: 4.824 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5949, allocations: 3.938 kB / 0.546 GB, free: 4.82 MB / 394.7 MB Notification: Performance of Templates: time 0.005801/0.6007, allocations: 1.594 MB / 0.5475 GB, free: 3.281 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)