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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001054/0.001054, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.713/1.713, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4287/0.4287, allocations: 54.93 MB / 324.4 MB, free: 84 kB / 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.001425/0.001425, allocations: 71.91 kB / 394.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 59.59 MB / 454.5 MB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.2767/0.4098, allocations: 1.589 MB / 456 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.4115, allocations: 0.5121 MB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.807e-05/0.4116, allocations: 2.25 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.412, allocations: 9.391 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.4121, allocations: 17.8 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.4125, allocations: 31.48 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.4127, allocations: 117.5 kB / 456.7 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.4129, allocations: 22.58 kB / 456.8 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.4131, allocations: 59.52 kB / 456.8 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.4133, allocations: 43.22 kB / 456.9 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.4133, allocations: 14.47 kB / 456.9 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-05/0.4134, allocations: 7.938 kB / 456.9 MB, free: 38.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.4135, allocations: 23.88 kB / 456.9 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.345e-05/0.4136, allocations: 50.23 kB / 456.9 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.4138, allocations: 93.94 kB / 457 MB, free: 38.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4138, allocations: 2.562 kB / 457 MB, free: 38.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4138, allocations: 2.062 kB / 457 MB, free: 38.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4138, allocations: 0 / 457 MB, free: 38.63 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.001007/0.4149, allocations: 479.9 kB / 457.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.4149, allocations: 11.22 kB / 457.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.415, allocations: 11 kB / 457.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.4153, allocations: 197.5 kB / 457.7 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4153, allocations: 6.562 kB / 457.7 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.4153, allocations: 12.06 kB / 457.7 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.4158, allocations: 136.3 kB / 457.9 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4158, allocations: 0.5 kB / 457.9 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4159, allocations: 4.562 kB / 457.9 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.4159, allocations: 2.594 kB / 457.9 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/0.4164, allocations: 117.5 kB / 458 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.4173, allocations: 359.4 kB / 458.4 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.4179, allocations: 135.1 kB / 458.5 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.4182, allocations: 101.9 kB / 458.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.4182, allocations: 9.844 kB / 458.6 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004446/0.4187, allocations: 141.7 kB / 458.7 MB, free: 37.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.4187, allocations: 0 / 458.7 MB, free: 37.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001045/0.4197, allocations: 324 kB / 459 MB, free: 37.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.4198, allocations: 92.62 kB / 459.1 MB, free: 37.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.42, allocations: 142.8 kB / 459.3 MB, free: 37.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.42, allocations: 28.61 kB / 459.3 MB, free: 37.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.4201, allocations: 98.05 kB / 459.4 MB, free: 37.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.4201, allocations: 35.64 kB / 459.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.4202, allocations: 32.39 kB / 459.5 MB, free: 37.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.4203, allocations: 324.6 kB / 459.8 MB, free: 36.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.4206, allocations: 81.47 kB / 459.9 MB, free: 36.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.4209, allocations: 88.98 kB / 459.9 MB, free: 36.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006785/0.4216, allocations: 267.4 kB / 460.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4216, allocations: 0 / 460.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007154/0.4223, allocations: 291.6 kB / 460.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.4224, allocations: 75.66 kB / 460.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4224, allocations: 0.8438 kB / 460.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4225, allocations: 1 kB / 460.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.4227, allocations: 20.45 kB / 460.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4227, allocations: 3.516 kB / 460.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.4229, allocations: 30.06 kB / 460.6 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.423, allocations: 5.688 kB / 460.6 MB, free: 36.6 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.0001696/0.4232, allocations: 172.6 kB / 460.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.4232, allocations: 13.31 kB / 460.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.4233, allocations: 11.22 kB / 460.8 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4233, allocations: 0 / 460.8 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.4233, allocations: 7.359 kB / 460.8 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.4233, allocations: 2.266 kB / 460.8 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.4236, allocations: 213.2 kB / 461 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4236, allocations: 0 / 461 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.4237, allocations: 16.25 kB / 461.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4237, allocations: 0 / 461.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.4238, allocations: 10.45 kB / 461.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4238, allocations: 0 / 461.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4238, allocations: 0 / 461.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.4244, allocations: 298.7 kB / 461.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.4245, allocations: 87.33 kB / 461.4 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.4245, allocations: 6.406 kB / 461.4 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.4247, allocations: 27.23 kB / 461.5 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.4249, allocations: 21.2 kB / 461.5 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.4249, allocations: 6.938 kB / 461.5 MB, free: 36.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.425, allocations: 109.5 kB / 461.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.425, allocations: 0 / 461.6 MB, free: 35.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002289/0.4252, allocations: 34.97 kB / 461.6 MB, free: 35.96 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 0.0001143/0.4254, allocations: 101.6 kB / 461.7 MB, free: 35.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006496/0.426, allocations: 351.7 kB / 462.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.426, allocations: 4 kB / 462.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.4264, allocations: 192.8 kB / 462.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4266, allocations: 12.33 kB / 462.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.4274, allocations: 338.8 kB / 462.6 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.4275, allocations: 0.7045 MB / 463.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.087e-05/0.4276, allocations: 10.58 kB / 463.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.4277, allocations: 17.12 kB / 463.4 MB, free: 34.81 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4277, allocations: 0 / 463.4 MB, free: 34.81 MB / 382.1 MB Notification: Performance of Templates: time 0.005057/0.4327, allocations: 1.618 MB / 465 MB, free: 34.74 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)