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.001109/0.001109, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001144/0.001144, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.486/1.486, allocations: 205.1 MB / 222 MB, free: 4.984 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4155/0.4155, allocations: 54.93 MB / 324.3 MB, free: 52 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.001392/0.001392, allocations: 60.52 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1623, allocations: 59.6 MB / 454.3 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.275/0.4373, allocations: 1.604 MB / 455.9 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.4382, allocations: 0.5069 MB / 456.4 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.4383, allocations: 2.062 kB / 456.4 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.4384, allocations: 4.781 kB / 456.4 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.4385, allocations: 20.7 kB / 456.4 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.4388, allocations: 40.61 kB / 456.5 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.4389, allocations: 106.1 kB / 456.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4391, allocations: 17.03 kB / 456.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.4392, allocations: 45.33 kB / 456.6 MB, free: 38.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.991e-05/0.4393, allocations: 53.02 kB / 456.7 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.4393, allocations: 6.375 kB / 456.7 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.4394, allocations: 5.25 kB / 456.7 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.506e-05/0.4394, allocations: 22.45 kB / 456.7 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.4395, allocations: 41.08 kB / 456.8 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.4397, allocations: 92.2 kB / 456.8 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4397, allocations: 1.094 kB / 456.8 MB, free: 38.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4397, allocations: 2.656 kB / 456.8 MB, free: 38.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.4397, allocations: 0.625 kB / 456.8 MB, free: 38.86 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.0008029/0.4405, allocations: 480.3 kB / 457.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4405, allocations: 9.062 kB / 457.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.4406, allocations: 9.656 kB / 457.3 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.4408, allocations: 203.6 kB / 457.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.4408, allocations: 6.812 kB / 457.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.4409, allocations: 10.22 kB / 457.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.4412, allocations: 138 kB / 457.7 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4412, allocations: 1.25 kB / 457.7 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.4413, allocations: 6.5 kB / 457.7 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4413, allocations: 0 / 457.7 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.4416, allocations: 115.7 kB / 457.8 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.4423, allocations: 355.8 kB / 458.2 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.4427, allocations: 141.6 kB / 458.3 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.4429, allocations: 102.1 kB / 458.4 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.4429, allocations: 0 / 458.4 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004134/0.4433, allocations: 141.6 kB / 458.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.4433, allocations: 0 / 458.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000721/0.4441, allocations: 331.8 kB / 458.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4441, allocations: 96.36 kB / 458.9 MB, free: 37.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4442, allocations: 139.1 kB / 459.1 MB, free: 37.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4443, allocations: 29.58 kB / 459.1 MB, free: 37.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.4443, allocations: 102.1 kB / 459.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.4444, allocations: 29.16 kB / 459.2 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.4444, allocations: 33.19 kB / 459.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/0.4445, allocations: 325 kB / 459.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.4447, allocations: 82.44 kB / 459.7 MB, free: 37.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.4449, allocations: 88.75 kB / 459.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.4453, allocations: 266.5 kB / 460 MB, free: 36.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4453, allocations: 0 / 460 MB, free: 36.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004726/0.4458, allocations: 290.3 kB / 460.3 MB, free: 36.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.4459, allocations: 74.97 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4459, allocations: 4.594 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.4459, allocations: 0.9688 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.446, allocations: 15.23 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.446, allocations: 7.422 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.4462, allocations: 33.78 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.4463, allocations: 2.906 kB / 460.4 MB, free: 36.82 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.0001029/0.4464, allocations: 173.1 kB / 460.6 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.4464, allocations: 13.38 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.4464, allocations: 11.47 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4464, allocations: 2.078 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4464, allocations: 1.125 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4465, allocations: 0 / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.4466, allocations: 205 kB / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4466, allocations: 1.188 kB / 460.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.4467, allocations: 25.59 kB / 460.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4467, allocations: 0 / 460.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4467, allocations: 6.031 kB / 460.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4467, allocations: 0 / 460.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4467, allocations: 0 / 460.9 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.4472, allocations: 305.5 kB / 461.2 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.4472, allocations: 87.64 kB / 461.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.4473, allocations: 2.906 kB / 461.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.4474, allocations: 26.11 kB / 461.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.4475, allocations: 23.61 kB / 461.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4475, allocations: 6.781 kB / 461.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.611e-05/0.4476, allocations: 114.2 kB / 461.4 MB, free: 36.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4476, allocations: 0 / 461.4 MB, free: 36.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002012/0.4478, allocations: 31 kB / 461.4 MB, free: 36.18 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.143e-05/0.4479, allocations: 102.2 kB / 461.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005374/0.4484, allocations: 343.8 kB / 461.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4485, allocations: 4.5 kB / 461.9 MB, free: 35.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.4487, allocations: 197 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.4489, allocations: 11.84 kB / 462.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/0.4495, allocations: 332 kB / 462.4 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4497, allocations: 0.6987 MB / 463.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.272e-05/0.4497, allocations: 15.39 kB / 463.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.4498, allocations: 15.69 kB / 463.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4498, allocations: 0 / 463.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of Templates: time 0.003561/0.4533, allocations: 1.533 MB / 464.7 MB, free: 34.96 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)