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.009732/0.009732, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.002117/0.002117, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8074/0.8074, allocations: 132.2 MB / 422.7 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.12 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1878, allocations: 80.22 MB / 0.6596 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002652/0.1906, allocations: 1.528 MB / 0.6611 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.1916, allocations: 0.5804 MB / 0.6617 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.1917, allocations: 7.938 kB / 0.6617 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.1918, allocations: 3.938 kB / 0.6617 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.459e-05/0.1919, allocations: 19.8 kB / 0.6617 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1923, allocations: 91.77 kB / 0.6618 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1924, allocations: 99.64 kB / 0.6619 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1926, allocations: 28.19 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1927, allocations: 43.84 kB / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.1928, allocations: 43.83 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.1928, allocations: 8 kB / 0.662 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.193, allocations: 95.89 kB / 0.6621 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.193, allocations: 23.86 kB / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.1931, allocations: 43.73 kB / 0.6622 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1934, allocations: 139.5 kB / 0.6623 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1934, allocations: 0 / 0.6623 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1934, allocations: 0 / 0.6623 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1934, allocations: 0 / 0.6623 GB, free: 7.555 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.0008771/0.1943, allocations: 452.8 kB / 0.6628 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1943, allocations: 16.03 kB / 0.6628 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1944, allocations: 16.75 kB / 0.6628 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1946, allocations: 192.1 kB / 0.663 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1946, allocations: 4.375 kB / 0.663 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1946, allocations: 12.36 kB / 0.663 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.195, allocations: 97.94 kB / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.195, allocations: 0 / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.195, allocations: 0 / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.195, allocations: 15.92 kB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.1954, allocations: 87.92 kB / 0.6632 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.196, allocations: 352.6 kB / 0.6635 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.1963, allocations: 90.52 kB / 0.6636 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1965, allocations: 56.88 kB / 0.6637 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1965, allocations: 0 / 0.6637 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.1969, allocations: 119.3 kB / 0.6638 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1969, allocations: 0 / 0.6638 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006436/0.1975, allocations: 205.4 kB / 0.664 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1976, allocations: 55.41 kB / 0.664 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1977, allocations: 136.2 kB / 0.6641 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1977, allocations: 37.7 kB / 0.6642 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.1978, allocations: 104 kB / 0.6643 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1979, allocations: 23.78 kB / 0.6643 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.1979, allocations: 29.89 kB / 0.6643 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1981, allocations: 322.8 kB / 0.6646 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1983, allocations: 55.95 kB / 0.6647 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.1984, allocations: 67.89 kB / 0.6648 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.1988, allocations: 138.5 kB / 0.6649 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1988, allocations: 0 / 0.6649 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004634/0.1993, allocations: 203.2 kB / 0.6651 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.1993, allocations: 39.27 kB / 0.6651 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1994, allocations: 0 / 0.6651 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1994, allocations: 0 / 0.6651 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1995, allocations: 19.97 kB / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1995, allocations: 0 / 0.6651 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1997, allocations: 19.92 kB / 0.6652 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1997, allocations: 0 / 0.6652 GB, free: 4.398 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 0.0001122/0.1998, allocations: 137.7 kB / 0.6653 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.1999, allocations: 7.906 kB / 0.6653 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.1999, allocations: 12.72 kB / 0.6653 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.1999, allocations: 7.984 kB / 0.6653 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1999, allocations: 0 / 0.6653 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1999, allocations: 0 / 0.6653 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.2001, allocations: 197.5 kB / 0.6655 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2001, allocations: 0 / 0.6655 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.2002, allocations: 19.97 kB / 0.6655 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2003, allocations: 0 / 0.6655 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.2003, allocations: 12 kB / 0.6655 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2003, allocations: 4 kB / 0.6655 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2003, allocations: 0 / 0.6655 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.2007, allocations: 180.8 kB / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.2008, allocations: 85.02 kB / 0.6658 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.2008, allocations: 7.984 kB / 0.6658 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.201, allocations: 15.98 kB / 0.6658 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.201, allocations: 11.98 kB / 0.6658 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2011, allocations: 0 / 0.6658 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.042e-05/0.2011, allocations: 112.5 kB / 0.6659 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2011, allocations: 0 / 0.6659 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002616/0.2014, allocations: 43.81 kB / 0.666 GB, free: 3.457 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.0001987/0.2016, allocations: 123.2 kB / 0.6661 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005067/0.2021, allocations: 191.2 kB / 0.6663 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2021, allocations: 0 / 0.6663 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.2023, allocations: 56.11 kB / 0.6663 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.2026, allocations: 18.2 kB / 0.6663 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.2031, allocations: 235.5 kB / 0.6666 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.2034, allocations: 0.7002 MB / 0.6673 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.388e-05/0.2035, allocations: 19.75 kB / 0.6673 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.2036, allocations: 15.44 kB / 0.6673 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2036, allocations: 0 / 0.6673 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of Templates: time 0.004333/0.2079, allocations: 1.411 MB / 0.6687 GB, free: 0.6328 MB / 0.4981 GB 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)