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.001192/0.001193, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007752/0.007752, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.622/1.622, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4418/0.4418, allocations: 55.01 MB / 325.7 MB, free: 0.5234 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.0005811/0.0005809, allocations: 12 kB / 397.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4134, allocations: 60.72 MB / 458 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.0017/0.4151, allocations: 1.269 MB / 459.2 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.416, allocations: 0.5034 MB / 459.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.416, allocations: 3.031 kB / 459.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.127e-05/0.4161, allocations: 10.97 kB / 459.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.413e-05/0.4162, allocations: 14.98 kB / 459.8 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.4164, allocations: 34.56 kB / 459.8 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.4165, allocations: 112.1 kB / 459.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.4166, allocations: 18.17 kB / 459.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.479e-05/0.4167, allocations: 47.28 kB / 460 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.4168, allocations: 51.16 kB / 460 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.4168, allocations: 5.688 kB / 460 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.4168, allocations: 3.5 kB / 460 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.4169, allocations: 14.09 kB / 460 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.622e-05/0.4169, allocations: 68.58 kB / 460.1 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.417, allocations: 88.44 kB / 460.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4171, allocations: 3.188 kB / 460.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4171, allocations: 3.812 kB / 460.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.4171, allocations: 0.75 kB / 460.2 MB, free: 38.34 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.0007171/0.4178, allocations: 472.9 kB / 460.7 MB, free: 37.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4178, allocations: 9.344 kB / 460.7 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.4179, allocations: 18 kB / 460.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.4181, allocations: 191.5 kB / 460.9 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4181, allocations: 10.62 kB / 460.9 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.4181, allocations: 3.188 kB / 460.9 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.4185, allocations: 154.5 kB / 461 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4185, allocations: 0 / 461 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.4186, allocations: 1 kB / 461 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4186, allocations: 6.75 kB / 461.1 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.4189, allocations: 139.1 kB / 461.2 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.4195, allocations: 369.5 kB / 461.5 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.4199, allocations: 151.5 kB / 461.7 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.4202, allocations: 112.1 kB / 461.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4202, allocations: 0 / 461.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004398/0.4206, allocations: 158.9 kB / 462 MB, free: 37.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.4206, allocations: 0.7188 kB / 462 MB, free: 37.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009286/0.4216, allocations: 352.3 kB / 462.3 MB, free: 37.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.4217, allocations: 93.59 kB / 462.4 MB, free: 37.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4218, allocations: 142.3 kB / 462.5 MB, free: 37.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.4218, allocations: 32.14 kB / 462.6 MB, free: 37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.4219, allocations: 100.7 kB / 462.7 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.4219, allocations: 32.8 kB / 462.7 MB, free: 36.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.574e-05/0.422, allocations: 19.89 kB / 462.7 MB, free: 36.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.369e-05/0.4221, allocations: 324.7 kB / 463 MB, free: 36.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.4223, allocations: 92.34 kB / 463.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.4225, allocations: 93.28 kB / 463.2 MB, free: 36.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.4231, allocations: 286.5 kB / 463.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.4231, allocations: 0 / 463.5 MB, free: 36.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005655/0.4236, allocations: 314.7 kB / 463.8 MB, free: 36.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.4237, allocations: 72.19 kB / 463.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4237, allocations: 5.031 kB / 463.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4238, allocations: 1.266 kB / 463.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.4239, allocations: 23.92 kB / 463.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.4239, allocations: 0 / 463.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.4241, allocations: 44.41 kB / 463.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.4242, allocations: 10.75 kB / 464 MB, free: 36.26 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.0001424/0.4243, allocations: 163.4 kB / 464.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.4244, allocations: 9.5 kB / 464.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.4244, allocations: 14.5 kB / 464.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4244, allocations: 7.172 kB / 464.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.4244, allocations: 0 / 464.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4245, allocations: 0 / 464.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.4246, allocations: 210 kB / 464.4 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4246, allocations: 0 / 464.4 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.4248, allocations: 21.81 kB / 464.4 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4248, allocations: 0 / 464.4 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.4248, allocations: 8.172 kB / 464.4 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4248, allocations: 0 / 464.4 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4248, allocations: 2.875 kB / 464.4 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.4254, allocations: 324.8 kB / 464.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.4255, allocations: 87.77 kB / 464.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.4255, allocations: 2.938 kB / 464.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.4257, allocations: 37.11 kB / 464.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.4258, allocations: 21.2 kB / 464.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.4258, allocations: 5.844 kB / 464.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.265e-05/0.4259, allocations: 111.1 kB / 465 MB, free: 35.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4259, allocations: 0 / 465 MB, free: 35.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002062/0.4261, allocations: 31.41 kB / 465 MB, free: 35.61 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 9.315e-05/0.4262, allocations: 102 kB / 465.1 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.4268, allocations: 366 kB / 465.4 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4268, allocations: 0 / 465.4 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.427, allocations: 201.4 kB / 465.6 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.4273, allocations: 15.41 kB / 465.7 MB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.428, allocations: 350.2 kB / 466 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.4281, allocations: 0.705 MB / 466.7 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.289e-05/0.4282, allocations: 10.78 kB / 466.7 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.4283, allocations: 14.09 kB / 466.7 MB, free: 34.45 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4283, allocations: 0 / 466.7 MB, free: 34.45 MB / 382.1 MB Notification: Performance of Templates: time 0.00428/0.4326, allocations: 1.516 MB / 468.2 MB, free: 34.38 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: