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.0009149/0.0009147, allocations: 91.61 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.001067/0.001067, 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.81/1.81, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4302/0.4302, allocations: 55.02 MB / 325.4 MB, free: 0.668 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.0007117/0.0007119, allocations: 24 kB / 396.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5307/0.5314, allocations: 60.71 MB / 457.4 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.001894/0.5334, allocations: 1.244 MB / 458.6 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.5342, allocations: 490 kB / 459.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.5342, allocations: 6.641 kB / 459.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.593e-05/0.5343, allocations: 7.25 kB / 459.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.5344, allocations: 15.75 kB / 459.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.5346, allocations: 45.8 kB / 459.2 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.5347, allocations: 94.28 kB / 459.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.5349, allocations: 9.141 kB / 459.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.535, allocations: 49.86 kB / 459.3 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.5351, allocations: 47.91 kB / 459.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.5351, allocations: 3.469 kB / 459.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.684e-05/0.5351, allocations: 3.688 kB / 459.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.672e-05/0.5352, allocations: 20.36 kB / 459.4 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.5352, allocations: 39.92 kB / 459.4 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.5353, allocations: 67.91 kB / 459.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.5353, allocations: 0 / 459.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5354, allocations: 0 / 459.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.5354, allocations: 0 / 459.5 MB, free: 38.28 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.0007525/0.5361, allocations: 471.9 kB / 459.9 MB, free: 37.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5362, allocations: 14.7 kB / 460 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.5362, allocations: 13.38 kB / 460 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.5364, allocations: 193.8 kB / 460.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.5364, allocations: 5.094 kB / 460.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.5364, allocations: 11.5 kB / 460.2 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.5368, allocations: 136.7 kB / 460.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5368, allocations: 0.5 kB / 460.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.5368, allocations: 7.062 kB / 460.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5368, allocations: 2.844 kB / 460.3 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.5371, allocations: 131.9 kB / 460.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.5377, allocations: 370.7 kB / 460.8 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.538, allocations: 143.5 kB / 460.9 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.5382, allocations: 107.3 kB / 461.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.5382, allocations: 3.25 kB / 461.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.5386, allocations: 153 kB / 461.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.5386, allocations: 0 / 461.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006849/0.5393, allocations: 334 kB / 461.5 MB, free: 37.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.5394, allocations: 95.12 kB / 461.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5395, allocations: 145.6 kB / 461.8 MB, free: 36.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.5395, allocations: 31.27 kB / 461.8 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.5395, allocations: 97.05 kB / 461.9 MB, free: 36.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.5396, allocations: 32.38 kB / 461.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.5396, allocations: 0 / 461.9 MB, free: 36.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.5397, allocations: 328 kB / 462.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.5399, allocations: 91.19 kB / 462.3 MB, free: 36.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.5401, allocations: 90.92 kB / 462.4 MB, free: 36.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.5403, allocations: 152.9 kB / 462.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5403, allocations: 0 / 462.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004482/0.5407, allocations: 304 kB / 462.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.5408, allocations: 71.34 kB / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5408, allocations: 0 / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5408, allocations: 0 / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.541, allocations: 24.78 kB / 463 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.541, allocations: 7.562 kB / 463 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.5411, allocations: 42.91 kB / 463 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.5412, allocations: 3.484 kB / 463 MB, free: 36.28 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.5413, allocations: 162.7 kB / 463.2 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.5413, allocations: 9.531 kB / 463.2 MB, free: 36.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.326e-05/0.5413, allocations: 19.48 kB / 463.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5413, allocations: 0.5156 kB / 463.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5413, allocations: 1.547 kB / 463.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5414, allocations: 3.062 kB / 463.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.5415, allocations: 209.3 kB / 463.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5415, allocations: 0 / 463.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.5416, allocations: 25.02 kB / 463.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.5416, allocations: 2.25 kB / 463.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.5417, allocations: 2.344 kB / 463.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5417, allocations: 4 kB / 463.4 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5417, allocations: 3.125 kB / 463.4 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.5422, allocations: 311 kB / 463.8 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.5422, allocations: 83.86 kB / 463.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.5423, allocations: 9.766 kB / 463.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.5424, allocations: 30.41 kB / 463.9 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5426, allocations: 29.91 kB / 463.9 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.5426, allocations: 6.688 kB / 463.9 MB, free: 35.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.274e-05/0.5427, allocations: 113.8 kB / 464 MB, free: 35.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5427, allocations: 2.062 kB / 464 MB, free: 35.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.5429, allocations: 26.44 kB / 464 MB, free: 35.63 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 (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.0001361/0.543, allocations: 96.03 kB / 464.1 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005681/0.5436, allocations: 357 kB / 464.5 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5436, allocations: 0 / 464.5 MB, free: 35.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.5439, allocations: 200.1 kB / 464.7 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.5441, allocations: 18.78 kB / 464.7 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.5447, allocations: 323.5 kB / 465 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.5449, allocations: 0.6998 MB / 465.7 MB, free: 34.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.193e-05/0.545, allocations: 20.48 kB / 465.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.545, allocations: 10.41 kB / 465.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.545, allocations: 0 / 465.7 MB, free: 34.48 MB / 382.1 MB Notification: Performance of Templates: time 0.003983/0.549, allocations: 1.48 MB / 467.2 MB, free: 34.41 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: