Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108 kB / 15.61 MB, free: 152 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.00135/0.00135, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.688/1.688, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.5029/0.5029, allocations: 54.94 MB / 324.7 MB, free: 15.93 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.001742/0.001742, allocations: 71.89 kB / 395.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1604, allocations: 59.59 MB / 454.9 MB, free: 188 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.2933/0.4537, allocations: 1.538 MB / 456.5 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.4548, allocations: 0.5109 MB / 457 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.4549, allocations: 2.156 kB / 457 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.4551, allocations: 8.594 kB / 457 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.302e-05/0.4552, allocations: 15.95 kB / 457 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.4555, allocations: 48.92 kB / 457 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.4557, allocations: 118.2 kB / 457.2 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.4558, allocations: 20.72 kB / 457.2 MB, free: 38.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.456, allocations: 55.86 kB / 457.2 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.4561, allocations: 53.45 kB / 457.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.4561, allocations: 7.719 kB / 457.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.182e-05/0.4562, allocations: 8.969 kB / 457.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.39e-05/0.4562, allocations: 17.58 kB / 457.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.4563, allocations: 54.5 kB / 457.4 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.4564, allocations: 91.36 kB / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4565, allocations: 3.875 kB / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4565, allocations: 0 / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.4565, allocations: 1.406 kB / 457.5 MB, free: 38.89 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007917/0.4573, allocations: 480.6 kB / 457.9 MB, free: 38.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4573, allocations: 7.094 kB / 457.9 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.4574, allocations: 11.34 kB / 458 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.4576, allocations: 197.7 kB / 458.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4576, allocations: 6.375 kB / 458.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.4576, allocations: 10.39 kB / 458.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.458, allocations: 142.4 kB / 458.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.458, allocations: 1.312 kB / 458.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.458, allocations: 9.906 kB / 458.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.458, allocations: 0 / 458.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.4584, allocations: 109.2 kB / 458.4 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.459, allocations: 361.1 kB / 458.8 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.4593, allocations: 133.7 kB / 458.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.4595, allocations: 105.2 kB / 459 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.4596, allocations: 3.984 kB / 459 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004044/0.46, allocations: 147.5 kB / 459.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.46, allocations: 1.594 kB / 459.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007471/0.4608, allocations: 325.5 kB / 459.5 MB, free: 37.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4608, allocations: 93.75 kB / 459.6 MB, free: 37.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.4609, allocations: 141.1 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4609, allocations: 29.58 kB / 459.7 MB, free: 37.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.461, allocations: 101.9 kB / 459.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.461, allocations: 32.31 kB / 459.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.4611, allocations: 26.95 kB / 459.9 MB, free: 37.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.4611, allocations: 328.5 kB / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.4613, allocations: 86.14 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.4615, allocations: 85.36 kB / 460.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.4619, allocations: 264.8 kB / 460.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4619, allocations: 0 / 460.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004944/0.4624, allocations: 289.5 kB / 460.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.4625, allocations: 70.19 kB / 461 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4625, allocations: 0 / 461 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4625, allocations: 2.781 kB / 461 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.4627, allocations: 19.56 kB / 461 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.4627, allocations: 0 / 461 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.4629, allocations: 38.72 kB / 461 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.4629, allocations: 6.312 kB / 461 MB, free: 36.86 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001038/0.463, allocations: 165.3 kB / 461.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.463, allocations: 15.61 kB / 461.2 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.4631, allocations: 15.72 kB / 461.2 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4631, allocations: 7.031 kB / 461.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4631, allocations: 0.5 kB / 461.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4631, allocations: 0 / 461.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.4632, allocations: 210.8 kB / 461.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4632, allocations: 0.5 kB / 461.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.4633, allocations: 15.75 kB / 461.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4634, allocations: 3.25 kB / 461.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.4634, allocations: 5.359 kB / 461.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4634, allocations: 5.656 kB / 461.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4634, allocations: 0 / 461.5 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.4639, allocations: 301.4 kB / 461.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.464, allocations: 83.64 kB / 461.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.464, allocations: 6.062 kB / 461.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.4642, allocations: 26.52 kB / 461.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4643, allocations: 24.03 kB / 461.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.4643, allocations: 9.766 kB / 461.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.4644, allocations: 100.2 kB / 462 MB, free: 36.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4644, allocations: 0.7188 kB / 462 MB, free: 36.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.4646, allocations: 37.16 kB / 462.1 MB, free: 36.21 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 8.692e-05/0.4647, allocations: 101 kB / 462.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006282/0.4653, allocations: 350.1 kB / 462.5 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.4653, allocations: 0 / 462.5 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.4656, allocations: 194.2 kB / 462.7 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.4658, allocations: 14.34 kB / 462.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.4664, allocations: 311 kB / 463 MB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.4666, allocations: 0.7019 MB / 463.7 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.4667, allocations: 9.641 kB / 463.7 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.4667, allocations: 16.33 kB / 463.7 MB, free: 35.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4667, allocations: 0 / 463.7 MB, free: 35.1 MB / 382.1 MB Notification: Performance of Templates: time 0.004141/0.4709, allocations: 1.732 MB / 465.5 MB, free: 35.01 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)