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.007573/0.007573, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001599/0.001599, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.89 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5191/0.5206, allocations: 80.92 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002758/0.5234, allocations: 1.549 MB / 0.6661 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009828/0.5244, allocations: 0.5725 MB / 0.6667 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.5245, allocations: 1.344 kB / 0.6667 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.5247, allocations: 5.438 kB / 0.6667 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.152e-05/0.5248, allocations: 26.31 kB / 0.6667 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.5252, allocations: 95.05 kB / 0.6668 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.5254, allocations: 94.27 kB / 0.6669 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.5255, allocations: 22.42 kB / 0.6669 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.5257, allocations: 53.25 kB / 0.667 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.5258, allocations: 45.17 kB / 0.667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.5258, allocations: 6.719 kB / 0.667 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.526, allocations: 97.55 kB / 0.6671 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.355e-05/0.526, allocations: 20.52 kB / 0.6671 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.5261, allocations: 36.2 kB / 0.6672 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.5263, allocations: 136.3 kB / 0.6673 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.5264, allocations: 1.312 kB / 0.6673 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5264, allocations: 0 / 0.6673 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5264, allocations: 0 / 0.6673 GB, free: 5.5 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.0007552/0.5271, allocations: 454.9 kB / 0.6677 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.5272, allocations: 9.406 kB / 0.6677 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.5272, allocations: 10.03 kB / 0.6677 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.5274, allocations: 196.9 kB / 0.6679 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5274, allocations: 6.953 kB / 0.6679 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.5274, allocations: 8.031 kB / 0.6679 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/0.5277, allocations: 107.9 kB / 0.668 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5278, allocations: 0 / 0.668 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5278, allocations: 3.984 kB / 0.6681 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.5278, allocations: 4.094 kB / 0.6681 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.5281, allocations: 94.61 kB / 0.6681 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.5287, allocations: 359.5 kB / 0.6685 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.529, allocations: 86.11 kB / 0.6686 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.5291, allocations: 59.75 kB / 0.6686 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.5292, allocations: 5.312 kB / 0.6686 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00031/0.5295, allocations: 113.3 kB / 0.6687 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.5295, allocations: 0 / 0.6687 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0005854/0.5301, allocations: 211 kB / 0.6689 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.5301, allocations: 52.75 kB / 0.669 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.959e-05/0.5302, allocations: 138.4 kB / 0.6691 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.5302, allocations: 27.2 kB / 0.6692 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.5303, allocations: 103.7 kB / 0.6692 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.5303, allocations: 28.53 kB / 0.6693 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.5304, allocations: 24.61 kB / 0.6693 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.722e-05/0.5304, allocations: 330 kB / 0.6696 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.5306, allocations: 56.55 kB / 0.6697 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.5308, allocations: 52.67 kB / 0.6697 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.5311, allocations: 147.7 kB / 0.6699 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5311, allocations: 4.109 kB / 0.6699 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000398/0.5315, allocations: 204.7 kB / 0.6701 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.5315, allocations: 31.55 kB / 0.6701 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5316, allocations: 0 / 0.6701 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5316, allocations: 5.141 kB / 0.6701 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.5317, allocations: 20.58 kB / 0.6701 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5317, allocations: 1.281 kB / 0.6701 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.5319, allocations: 17.33 kB / 0.6701 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.5319, allocations: 6.141 kB / 0.6701 GB, free: 3.051 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 7.344e-05/0.532, allocations: 124.4 kB / 0.6703 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.532, allocations: 9 kB / 0.6703 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.532, allocations: 22.98 kB / 0.6703 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5321, allocations: 3 kB / 0.6703 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5321, allocations: 0 / 0.6703 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5321, allocations: 1.375 kB / 0.6703 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.5322, allocations: 203.5 kB / 0.6705 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5322, allocations: 0 / 0.6705 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.5323, allocations: 15.77 kB / 0.6705 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5323, allocations: 0 / 0.6705 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5324, allocations: 5.203 kB / 0.6705 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5324, allocations: 1.125 kB / 0.6705 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5324, allocations: 0 / 0.6705 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/0.5328, allocations: 193.6 kB / 0.6707 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.5328, allocations: 88.31 kB / 0.6708 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.5328, allocations: 3.938 kB / 0.6708 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5329, allocations: 13.2 kB / 0.6708 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.533, allocations: 12.89 kB / 0.6708 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.533, allocations: 11.02 kB / 0.6708 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.5331, allocations: 102.9 kB / 0.6709 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5331, allocations: 4 kB / 0.6709 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002537/0.5333, allocations: 40.09 kB / 0.671 GB, free: 2.309 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.0001545/0.5335, allocations: 116.8 kB / 0.6711 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.5339, allocations: 181.8 kB / 0.6712 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5339, allocations: 0 / 0.6712 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.5341, allocations: 73.25 kB / 0.6713 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.5344, allocations: 12.83 kB / 0.6713 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.5349, allocations: 229 kB / 0.6715 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.535, allocations: 0.7035 MB / 0.6722 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.392e-05/0.5351, allocations: 19.75 kB / 0.6722 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.5352, allocations: 18.8 kB / 0.6723 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.5352, allocations: 3.938 kB / 0.6723 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of Templates: time 0.004406/0.5396, allocations: 1.408 MB / 0.6736 GB, free: 436 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)