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.001084/0.001084, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7435/0.7435, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 68.62 kB / 0.5018 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.4461, allocations: 80.2 MB / 0.5801 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002829/0.4489, allocations: 1.537 MB / 0.5816 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.4499, allocations: 0.5817 MB / 0.5822 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.45, allocations: 0.7812 kB / 0.5822 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.4501, allocations: 11.33 kB / 0.5822 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.4502, allocations: 19.81 kB / 0.5822 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.4506, allocations: 95.02 kB / 0.5823 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.4507, allocations: 95.94 kB / 0.5824 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.4509, allocations: 17 kB / 0.5824 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.451, allocations: 57.89 kB / 0.5824 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.4511, allocations: 43.94 kB / 0.5825 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.4511, allocations: 8.062 kB / 0.5825 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4513, allocations: 63.38 kB / 0.5825 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.4513, allocations: 20.72 kB / 0.5826 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.971e-05/0.4514, allocations: 37.64 kB / 0.5826 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.4516, allocations: 137 kB / 0.5827 GB, free: 3.027 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4516, allocations: 4.656 kB / 0.5827 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4516, allocations: 0 / 0.5827 GB, free: 3.023 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.4516, allocations: 0 / 0.5827 GB, free: 3.023 MB / 430.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.0007226/0.4524, allocations: 452.5 kB / 0.5832 GB, free: 2.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.4524, allocations: 10.34 kB / 0.5832 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.4525, allocations: 10.22 kB / 0.5832 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.4526, allocations: 207.6 kB / 0.5834 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4526, allocations: 2.75 kB / 0.5834 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.4527, allocations: 4.562 kB / 0.5834 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.453, allocations: 109.6 kB / 0.5835 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.453, allocations: 0.9375 kB / 0.5835 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.453, allocations: 0.6562 kB / 0.5835 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.453, allocations: 8.969 kB / 0.5835 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003302/0.4534, allocations: 90.91 kB / 0.5836 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.454, allocations: 344.5 kB / 0.5839 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.4543, allocations: 92.31 kB / 0.584 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.4545, allocations: 54.7 kB / 0.5841 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4545, allocations: 6.531 kB / 0.5841 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.4549, allocations: 123.9 kB / 0.5842 GB, free: 1.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.4549, allocations: 1.5 kB / 0.5842 GB, free: 1.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006546/0.4555, allocations: 203.5 kB / 0.5844 GB, free: 1.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.4556, allocations: 54.14 kB / 0.5844 GB, free: 1.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4557, allocations: 142.4 kB / 0.5846 GB, free: 1.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4557, allocations: 27.08 kB / 0.5846 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.4558, allocations: 99.17 kB / 0.5847 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.4558, allocations: 26.08 kB / 0.5847 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.4558, allocations: 29.53 kB / 0.5847 GB, free: 1.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.4559, allocations: 328.5 kB / 0.5851 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.4561, allocations: 57.41 kB / 0.5851 GB, free: 1.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.4563, allocations: 56.83 kB / 0.5852 GB, free: 1.102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.4566, allocations: 150.9 kB / 0.5853 GB, free: 1.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4567, allocations: 4.844 kB / 0.5853 GB, free: 1.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004521/0.4571, allocations: 198.9 kB / 0.5855 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.4572, allocations: 32.41 kB / 0.5855 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4572, allocations: 0.75 kB / 0.5855 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4572, allocations: 1.766 kB / 0.5855 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4573, allocations: 18.53 kB / 0.5856 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4574, allocations: 0.6562 kB / 0.5856 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.4575, allocations: 26.67 kB / 0.5856 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.4575, allocations: 3.594 kB / 0.5856 GB, free: 0.8906 MB / 430.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: 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.097e-05/0.4576, allocations: 129.4 kB / 0.5857 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.4576, allocations: 9.703 kB / 0.5857 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.4577, allocations: 11.55 kB / 0.5857 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4577, allocations: 4.516 kB / 0.5857 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4577, allocations: 0 / 0.5857 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4577, allocations: 2.266 kB / 0.5857 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.4579, allocations: 205 kB / 0.5859 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4579, allocations: 1.641 kB / 0.5859 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.458, allocations: 15.89 kB / 0.5859 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.458, allocations: 1.547 kB / 0.5859 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.458, allocations: 1.891 kB / 0.5859 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.458, allocations: 1.094 kB / 0.586 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.458, allocations: 0.7031 kB / 0.586 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.4585, allocations: 197 kB / 0.5861 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.4585, allocations: 88.95 kB / 0.5862 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.4585, allocations: 0.8906 kB / 0.5862 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.4587, allocations: 17.88 kB / 0.5862 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.4588, allocations: 14.48 kB / 0.5863 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4588, allocations: 3.078 kB / 0.5863 GB, free: 316 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.304e-05/0.4588, allocations: 114.8 kB / 0.5864 GB, free: 224 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4588, allocations: 192 / 0.5864 GB, free: 224 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000279/0.4591, allocations: 40.92 kB / 0.5864 GB, free: 216 kB / 430.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: 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.0001612/0.4593, allocations: 116.6 kB / 0.5865 GB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004929/0.4598, allocations: 186.9 kB / 0.5867 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4598, allocations: 4 kB / 0.5867 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.46, allocations: 69.83 kB / 0.5868 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4602, allocations: 10.97 kB / 0.5868 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.4609, allocations: 227.7 kB / 0.587 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4611, allocations: 0.6983 MB / 0.5877 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.335e-05/0.4612, allocations: 11.92 kB / 0.5877 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.4613, allocations: 20.08 kB / 0.5877 GB, free: 15.13 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4613, allocations: 0.7812 kB / 0.5877 GB, free: 15.13 MB / 446.1 MB Notification: Performance of Templates: time 0.004682/0.466, allocations: 1.395 MB / 0.5891 GB, free: 15.03 MB / 446.1 MB 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)