Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.009086/0.009086, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.00179/0.00179, allocations: 193.6 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7535/0.7535, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 0.5813 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4761, allocations: 80.2 MB / 0.6596 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002601/0.4787, allocations: 1.539 MB / 0.6611 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.4798, allocations: 0.5755 MB / 0.6617 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.4798, allocations: 5.219 kB / 0.6617 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.48, allocations: 7.125 kB / 0.6617 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.249e-05/0.4801, allocations: 24.39 kB / 0.6617 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.4805, allocations: 90.67 kB / 0.6618 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.4807, allocations: 100.8 kB / 0.6619 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.4808, allocations: 20.16 kB / 0.6619 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.4809, allocations: 53.8 kB / 0.662 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.481, allocations: 44.72 kB / 0.662 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.4811, allocations: 7.594 kB / 0.662 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.4812, allocations: 87.84 kB / 0.6621 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.4813, allocations: 16.11 kB / 0.6621 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.4814, allocations: 42.84 kB / 0.6622 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.4816, allocations: 144.8 kB / 0.6623 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4816, allocations: 0 / 0.6623 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4816, allocations: 5.281 kB / 0.6623 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4816, allocations: 0 / 0.6623 GB, free: 8.594 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007788/0.4824, allocations: 442.5 kB / 0.6627 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4825, allocations: 9.25 kB / 0.6628 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.4825, allocations: 18.45 kB / 0.6628 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.4827, allocations: 197.2 kB / 0.663 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4827, allocations: 5.438 kB / 0.663 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.4827, allocations: 8.094 kB / 0.663 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.483, allocations: 112.3 kB / 0.6631 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.483, allocations: 0 / 0.6631 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.4831, allocations: 1.344 kB / 0.6631 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.4831, allocations: 2.594 kB / 0.6631 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.4834, allocations: 87.02 kB / 0.6632 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.484, allocations: 351.9 kB / 0.6635 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.4843, allocations: 89.92 kB / 0.6636 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.4844, allocations: 59.94 kB / 0.6636 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.4844, allocations: 1.281 kB / 0.6636 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.4847, allocations: 121.6 kB / 0.6638 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.834e-06/0.4847, allocations: 0 / 0.6638 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005907/0.4853, allocations: 206.4 kB / 0.664 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.4854, allocations: 57.72 kB / 0.664 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.4855, allocations: 141.2 kB / 0.6641 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4855, allocations: 26.95 kB / 0.6642 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.4855, allocations: 100.2 kB / 0.6643 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.4856, allocations: 26.83 kB / 0.6643 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.4856, allocations: 30 kB / 0.6643 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.4857, allocations: 325.3 kB / 0.6646 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.4859, allocations: 56.8 kB / 0.6647 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.486, allocations: 56.78 kB / 0.6647 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.4864, allocations: 146.9 kB / 0.6649 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4864, allocations: 0.8438 kB / 0.6649 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004075/0.4868, allocations: 207.4 kB / 0.6651 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.4868, allocations: 36.78 kB / 0.6651 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4868, allocations: 0 / 0.6651 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.4869, allocations: 0 / 0.6651 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.487, allocations: 21.36 kB / 0.6651 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.487, allocations: 0 / 0.6651 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.4872, allocations: 18.77 kB / 0.6652 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.4872, allocations: 6.531 kB / 0.6652 GB, free: 6.156 MB / 0.4981 GB 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: 1 * Algorithm blocks: 1 * 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 8.913e-05/0.4873, allocations: 119.3 kB / 0.6653 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.4873, allocations: 11.97 kB / 0.6653 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.4873, allocations: 15.23 kB / 0.6653 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.4873, allocations: 3.406 kB / 0.6653 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4874, allocations: 5.656 kB / 0.6653 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.4874, allocations: 0 / 0.6653 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.4875, allocations: 211.8 kB / 0.6655 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4875, allocations: 0 / 0.6655 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.4876, allocations: 15.77 kB / 0.6655 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4876, allocations: 3.938 kB / 0.6655 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4877, allocations: 1.188 kB / 0.6655 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4877, allocations: 9.188 kB / 0.6655 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4877, allocations: 0 / 0.6655 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.4881, allocations: 189.6 kB / 0.6657 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.4881, allocations: 83.55 kB / 0.6658 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.4881, allocations: 1.531 kB / 0.6658 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.4883, allocations: 20.75 kB / 0.6658 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.4883, allocations: 13.61 kB / 0.6658 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.4883, allocations: 9.141 kB / 0.6658 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.722e-05/0.4884, allocations: 105.6 kB / 0.6659 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4884, allocations: 1.031 kB / 0.6659 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002576/0.4887, allocations: 39.72 kB / 0.666 GB, free: 5.402 MB / 0.4981 GB 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: 1 * Algorithm blocks: 0 * 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.0001434/0.4888, allocations: 114.6 kB / 0.6661 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.4893, allocations: 185.7 kB / 0.6663 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4893, allocations: 0 / 0.6663 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.4895, allocations: 66.69 kB / 0.6663 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.4897, allocations: 10.52 kB / 0.6663 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.4902, allocations: 237.1 kB / 0.6666 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.4903, allocations: 0.7041 MB / 0.6673 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.313e-05/0.4904, allocations: 18.53 kB / 0.6673 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.4904, allocations: 16.02 kB / 0.6673 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4904, allocations: 0 / 0.6673 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.003885/0.4943, allocations: 1.405 MB / 0.6687 GB, free: 3.531 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)