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.0008616/0.0008615, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0008652/0.0008652, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8703/0.8703, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003187/0.0003188, allocations: 11.98 kB / 0.5068 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 82.32 MB / 0.5872 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001579/0.1515, allocations: 1.237 MB / 0.5884 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.1524, allocations: 0.5264 MB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1525, allocations: 4 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.042e-05/0.1525, allocations: 7.922 kB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.489e-05/0.1526, allocations: 15.91 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.1529, allocations: 67.86 kB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.1531, allocations: 63.83 kB / 0.5891 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.1532, allocations: 16.23 kB / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1533, allocations: 39.84 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.1534, allocations: 39.81 kB / 0.5892 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1534, allocations: 4 kB / 0.5892 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.974e-05/0.1535, allocations: 43.97 kB / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.79e-05/0.1535, allocations: 15.92 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1536, allocations: 41.7 kB / 0.5893 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1537, allocations: 99.97 kB / 0.5893 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1537, allocations: 0 / 0.5893 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1537, allocations: 0 / 0.5893 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1538, allocations: 0 / 0.5893 GB, free: 0.9453 MB / 494.1 MB 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.0007174/0.1545, allocations: 448.6 kB / 0.5898 GB, free: 464 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1545, allocations: 11.97 kB / 0.5898 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1546, allocations: 7.906 kB / 0.5898 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1548, allocations: 198.8 kB / 0.59 GB, free: 204 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.1548, allocations: 4 kB / 0.59 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1548, allocations: 4 kB / 0.59 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1551, allocations: 117.6 kB / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1551, allocations: 0 / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1551, allocations: 0 / 0.5901 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.1552, allocations: 7.984 kB / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.1555, allocations: 103.9 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.1561, allocations: 356.7 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.1564, allocations: 110.5 kB / 0.5907 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1565, allocations: 4 kB / 0.5907 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.1568, allocations: 119.5 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1568, allocations: 4 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006688/0.1575, allocations: 318.5 kB / 0.5911 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.1575, allocations: 55.41 kB / 0.5911 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.1576, allocations: 140 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1577, allocations: 29.7 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.1577, allocations: 96.05 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1578, allocations: 27.64 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.1578, allocations: 4 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.1579, allocations: 326.8 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1581, allocations: 63.95 kB / 0.5918 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.1582, allocations: 76.17 kB / 0.5919 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.1584, allocations: 93.7 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1584, allocations: 96 / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000452/0.1589, allocations: 227 kB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.1589, allocations: 29.7 kB / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.159, allocations: 4 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.159, allocations: 7.953 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.1591, allocations: 23.97 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1591, allocations: 0 / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1593, allocations: 23.92 kB / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1593, allocations: 7.938 kB / 0.5923 GB, free: 13.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.995e-05/0.1594, allocations: 125.8 kB / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.1594, allocations: 7.906 kB / 0.5924 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.1595, allocations: 16.7 kB / 0.5924 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.1595, allocations: 11.94 kB / 0.5924 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1595, allocations: 0 / 0.5924 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1595, allocations: 4 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.1597, allocations: 193.5 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1597, allocations: 0 / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1598, allocations: 27.97 kB / 0.5926 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1598, allocations: 0 / 0.5926 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1598, allocations: 7.938 kB / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1598, allocations: 0 / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1598, allocations: 3.953 kB / 0.5926 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.1603, allocations: 196.9 kB / 0.5928 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.1603, allocations: 85.02 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1603, allocations: 7.984 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.1605, allocations: 27.97 kB / 0.5929 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.1605, allocations: 7.984 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1606, allocations: 11.94 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.1606, allocations: 105.2 kB / 0.5931 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1606, allocations: 0 / 0.5931 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002379/0.1609, allocations: 36 kB / 0.5931 GB, free: 12.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.161, allocations: 119.2 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.1615, allocations: 207.3 kB / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1615, allocations: 0 / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.1617, allocations: 75.88 kB / 0.5935 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.1619, allocations: 13.41 kB / 0.5935 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.1624, allocations: 259 kB / 0.5937 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.1626, allocations: 0.7004 MB / 0.5944 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.703e-05/0.1627, allocations: 15.98 kB / 0.5944 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.1628, allocations: 11.44 kB / 0.5945 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1628, allocations: 0 / 0.5945 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of Templates: time 0.003568/0.1663, allocations: 1.228 MB / 0.5957 GB, free: 10.05 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: