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.001444/0.001444, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001741/0.001741, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7502/0.7502, allocations: 132.2 MB / 422.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 60.38 kB / 0.5013 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4023, allocations: 80.19 MB / 0.5796 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003123/0.4055, allocations: 1.608 MB / 0.5812 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.4066, allocations: 0.581 MB / 0.5817 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.4067, allocations: 3.938 kB / 0.5817 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.4068, allocations: 6.984 kB / 0.5817 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.001e-05/0.4069, allocations: 16.58 kB / 0.5818 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.4073, allocations: 83.56 kB / 0.5818 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.4075, allocations: 97.22 kB / 0.5819 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.4076, allocations: 15.22 kB / 0.5819 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.4078, allocations: 53.22 kB / 0.582 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.4079, allocations: 45.36 kB / 0.582 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.4079, allocations: 6.719 kB / 0.582 GB, free: 2.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.408, allocations: 59.97 kB / 0.5821 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.203e-05/0.4081, allocations: 20.81 kB / 0.5821 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.4081, allocations: 41.72 kB / 0.5822 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.4084, allocations: 137 kB / 0.5823 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.4084, allocations: 0.6875 kB / 0.5823 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4084, allocations: 0 / 0.5823 GB, free: 2.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.4084, allocations: 1.156 kB / 0.5823 GB, free: 2.75 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.0007052/0.4091, allocations: 455.8 kB / 0.5827 GB, free: 2.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4092, allocations: 9.312 kB / 0.5827 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.4092, allocations: 10.56 kB / 0.5827 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.4094, allocations: 195.9 kB / 0.5829 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.4094, allocations: 10.38 kB / 0.5829 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.4094, allocations: 8.609 kB / 0.583 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.4097, allocations: 110.8 kB / 0.5831 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.4098, allocations: 0 / 0.5831 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.4098, allocations: 4.734 kB / 0.5831 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.4098, allocations: 4.375 kB / 0.5831 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.4101, allocations: 83.77 kB / 0.5831 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/0.4109, allocations: 353 kB / 0.5835 GB, free: 1.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.4112, allocations: 91.53 kB / 0.5836 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.4114, allocations: 58.92 kB / 0.5836 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.4114, allocations: 0.5938 kB / 0.5836 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004078/0.4118, allocations: 122.2 kB / 0.5837 GB, free: 1.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.4118, allocations: 0 / 0.5837 GB, free: 1.586 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007133/0.4126, allocations: 209.2 kB / 0.5839 GB, free: 1.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4126, allocations: 58.06 kB / 0.584 GB, free: 1.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.4127, allocations: 141.9 kB / 0.5841 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.4127, allocations: 26.95 kB / 0.5842 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.4128, allocations: 98.69 kB / 0.5843 GB, free: 1.211 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.4128, allocations: 26.69 kB / 0.5843 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.4129, allocations: 28.64 kB / 0.5843 GB, free: 1.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.413, allocations: 329.7 kB / 0.5846 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.4132, allocations: 52.23 kB / 0.5847 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.4134, allocations: 57.41 kB / 0.5847 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.4137, allocations: 151.6 kB / 0.5849 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4137, allocations: 0 / 0.5849 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000473/0.4142, allocations: 195.5 kB / 0.5851 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.4143, allocations: 35.83 kB / 0.5851 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4143, allocations: 0 / 0.5851 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4143, allocations: 0 / 0.5851 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.4144, allocations: 19.09 kB / 0.5851 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4145, allocations: 5.312 kB / 0.5851 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.4146, allocations: 22.58 kB / 0.5851 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.4146, allocations: 3.141 kB / 0.5851 GB, free: 0.6172 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.913e-05/0.4147, allocations: 125.8 kB / 0.5853 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.4148, allocations: 13.31 kB / 0.5853 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.4148, allocations: 12.12 kB / 0.5853 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.4148, allocations: 4.766 kB / 0.5853 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4148, allocations: 0 / 0.5853 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4148, allocations: 10 kB / 0.5853 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.415, allocations: 202.5 kB / 0.5855 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.415, allocations: 0 / 0.5855 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4151, allocations: 17.7 kB / 0.5855 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4151, allocations: 0.6562 kB / 0.5855 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4151, allocations: 1.672 kB / 0.5855 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4151, allocations: 8.578 kB / 0.5855 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4151, allocations: 1.125 kB / 0.5855 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.4156, allocations: 184.4 kB / 0.5857 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.915e-05/0.4156, allocations: 93.23 kB / 0.5858 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.4156, allocations: 1.703 kB / 0.5858 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4158, allocations: 12.84 kB / 0.5858 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.4159, allocations: 14.27 kB / 0.5858 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.4159, allocations: 3.188 kB / 0.5858 GB, free: 36 kB / 430.1 MB Notification: Performance of sorting global known variables: time 8.96e-05/0.416, allocations: 116.1 kB / 0.5859 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.416, allocations: 0 / 0.5859 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.4163, allocations: 39.64 kB / 0.586 GB, free: 15.94 MB / 446.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.0001918/0.4165, allocations: 117.2 kB / 0.5861 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000526/0.417, allocations: 186.5 kB / 0.5863 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.417, allocations: 4 kB / 0.5863 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.4172, allocations: 62.58 kB / 0.5863 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.4175, allocations: 15.36 kB / 0.5863 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.4181, allocations: 257.9 kB / 0.5866 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.4185, allocations: 0.6979 MB / 0.5873 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.374e-05/0.4186, allocations: 20.23 kB / 0.5873 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.4187, allocations: 16.92 kB / 0.5873 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4187, allocations: 0 / 0.5873 GB, free: 14.83 MB / 446.1 MB Notification: Performance of Templates: time 0.004439/0.4231, allocations: 1.322 MB / 0.5886 GB, free: 14.73 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)