Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01126/0.01126, allocations: 100.6 kB / 15.73 MB, free: 6.035 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.002487/0.002487, allocations: 192 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.009/1.009, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 0.5856 GB, free: 3.367 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5055, allocations: 80.9 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002474/0.5081, allocations: 1.548 MB / 0.6661 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009622/0.509, allocations: 0.5782 MB / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.5091, allocations: 0 / 0.6667 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.5092, allocations: 13.11 kB / 0.6667 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.5093, allocations: 10.78 kB / 0.6667 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003832/0.5097, allocations: 101.9 kB / 0.6668 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.5098, allocations: 95.3 kB / 0.6669 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.51, allocations: 22.58 kB / 0.6669 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.5101, allocations: 48.81 kB / 0.667 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.5102, allocations: 49.14 kB / 0.667 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.5102, allocations: 7.969 kB / 0.667 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.5104, allocations: 91.59 kB / 0.6671 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.5104, allocations: 17.2 kB / 0.6671 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.5105, allocations: 40.22 kB / 0.6672 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.5107, allocations: 141.3 kB / 0.6673 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5107, allocations: 0 / 0.6673 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5107, allocations: 0 / 0.6673 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.5108, allocations: 1.219 kB / 0.6673 GB, free: 5.523 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.0007746/0.5115, allocations: 446.2 kB / 0.6677 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5116, allocations: 9.281 kB / 0.6677 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.5116, allocations: 10.88 kB / 0.6677 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.5118, allocations: 198.1 kB / 0.6679 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5118, allocations: 11.42 kB / 0.6679 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.5118, allocations: 4.062 kB / 0.6679 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.5122, allocations: 118.4 kB / 0.6681 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.5122, allocations: 1.125 kB / 0.6681 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.5122, allocations: 0 / 0.6681 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.5122, allocations: 3.875 kB / 0.6681 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.5125, allocations: 94.78 kB / 0.6682 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.5132, allocations: 347.7 kB / 0.6685 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.5135, allocations: 94.31 kB / 0.6686 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.5136, allocations: 59.56 kB / 0.6686 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.5137, allocations: 1.656 kB / 0.6686 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003354/0.514, allocations: 116.7 kB / 0.6687 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.514, allocations: 0 / 0.6687 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000638/0.5147, allocations: 199 kB / 0.6689 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.5147, allocations: 58.25 kB / 0.669 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.5148, allocations: 142.1 kB / 0.6691 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5148, allocations: 26.95 kB / 0.6691 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.5149, allocations: 100.2 kB / 0.6692 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.5149, allocations: 27.5 kB / 0.6693 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.515, allocations: 30.48 kB / 0.6693 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/0.5151, allocations: 325.3 kB / 0.6696 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.5152, allocations: 55.92 kB / 0.6697 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.5154, allocations: 58.08 kB / 0.6697 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.5158, allocations: 146.9 kB / 0.6699 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5158, allocations: 0 / 0.6699 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004406/0.5162, allocations: 204.6 kB / 0.6701 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.5163, allocations: 32.11 kB / 0.6701 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5163, allocations: 0 / 0.6701 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5163, allocations: 1.812 kB / 0.6701 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.5165, allocations: 24.34 kB / 0.6701 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.5165, allocations: 0 / 0.6701 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.5166, allocations: 18.33 kB / 0.6701 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.5166, allocations: 5.594 kB / 0.6701 GB, free: 3.082 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.255e-05/0.5167, allocations: 129.1 kB / 0.6703 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.5167, allocations: 7.906 kB / 0.6703 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.5168, allocations: 11.19 kB / 0.6703 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.5168, allocations: 3.656 kB / 0.6703 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5168, allocations: 0 / 0.6703 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5168, allocations: 3.984 kB / 0.6703 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.5169, allocations: 204 kB / 0.6705 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.517, allocations: 5.281 kB / 0.6705 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.5171, allocations: 22.38 kB / 0.6705 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5171, allocations: 1.062 kB / 0.6705 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5171, allocations: 1.531 kB / 0.6705 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5171, allocations: 0 / 0.6705 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5171, allocations: 0 / 0.6705 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.5175, allocations: 193.1 kB / 0.6707 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.5176, allocations: 83.73 kB / 0.6708 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.5176, allocations: 2.469 kB / 0.6708 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.5177, allocations: 19.78 kB / 0.6708 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.5178, allocations: 13.11 kB / 0.6708 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.5178, allocations: 2.531 kB / 0.6708 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.5179, allocations: 110.2 kB / 0.6709 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.5179, allocations: 0 / 0.6709 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002609/0.5181, allocations: 43.56 kB / 0.671 GB, free: 2.34 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.0001581/0.5183, allocations: 117.5 kB / 0.6711 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.5188, allocations: 184.2 kB / 0.6712 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5188, allocations: 1.344 kB / 0.6712 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.519, allocations: 68.7 kB / 0.6713 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.5192, allocations: 20.75 kB / 0.6713 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005009/0.5197, allocations: 233.1 kB / 0.6715 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.5199, allocations: 0.6986 MB / 0.6722 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.986e-05/0.52, allocations: 23.88 kB / 0.6723 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.52, allocations: 11.34 kB / 0.6723 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.52, allocations: 0 / 0.6723 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.00409/0.5241, allocations: 1.408 MB / 0.6736 GB, free: 472 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)