Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3537/0.3537, allocations: 54.42 MB / 61.89 MB, free: 13.75 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001294/0.001294, allocations: 182.8 kB / 75.61 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.727/1.727, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001669/0.001669, allocations: 116.3 kB / 341.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.651e-05, allocations: 0 / 405.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4228, allocations: 57.66 MB / 463.1 MB, free: 51.7 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.5609, allocations: 92.26 MB / 0.5424 GB, free: 8.895 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.5612, allocations: 79.2 kB / 0.5425 GB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05491/0.6162, allocations: 19.16 MB / 0.5612 GB, free: 5.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6162, allocations: 4 kB / 0.5612 GB, free: 5.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001796/0.6164, allocations: 24.12 kB / 0.5612 GB, free: 5.742 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002969/0.6194, allocations: 1.042 MB / 0.5622 GB, free: 4.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.6195, allocations: 12.02 kB / 0.5622 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.6201, allocations: 116 kB / 0.5623 GB, free: 4.523 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.6222, allocations: 0.7184 MB / 0.563 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.6223, allocations: 59 kB / 0.5631 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.6225, allocations: 40 kB / 0.5631 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008948/0.6234, allocations: 434.6 kB / 0.5636 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.6244, allocations: 0.6013 MB / 0.5641 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.6245, allocations: 1.875 kB / 0.5641 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.541e-05/0.6245, allocations: 0 / 0.5641 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.6245, allocations: 16 kB / 0.5642 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003476/0.628, allocations: 2.011 MB / 0.5661 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.6291, allocations: 0.56 MB / 0.5667 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6295, allocations: 210.5 kB / 0.5669 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.6295, allocations: 4.562 kB / 0.5669 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/0.63, allocations: 278 kB / 0.5671 GB, free: 15.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 3.547e-06/0.6301, allocations: 0 / 0.5671 GB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.0009416/0.631, allocations: 492 kB / 0.5676 GB, free: 14.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.6311, allocations: 141.1 kB / 0.5677 GB, free: 14.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007036/0.6318, allocations: 0.5355 MB / 0.5683 GB, free: 14.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.6319, allocations: 29.69 kB / 0.5683 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.6323, allocations: 416.3 kB / 0.5687 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.6324, allocations: 205 kB / 0.5689 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.6325, allocations: 3.938 kB / 0.5689 GB, free: 13.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6326, allocations: 326 kB / 0.5692 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002808/0.6329, allocations: 165.6 kB / 0.5694 GB, free: 13.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.6333, allocations: 272.2 kB / 0.5696 GB, free: 12.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.6336, allocations: 194.1 kB / 0.5698 GB, free: 12.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6336, allocations: 5.531 kB / 0.5698 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009222/0.6346, allocations: 0.5448 MB / 0.5703 GB, free: 12.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003731/0.6349, allocations: 0.6981 MB / 0.571 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.635, allocations: 4 kB / 0.571 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.635, allocations: 4 kB / 0.571 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/0.6359, allocations: 159.8 kB / 0.5712 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.6359, allocations: 8 kB / 0.5712 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.6365, allocations: 55.56 kB / 0.5712 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.6365, allocations: 27.98 kB / 0.5713 GB, free: 11.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.6365, allocations: 4 kB / 0.5713 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000706/0.6372, allocations: 421.2 kB / 0.5717 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6373, allocations: 4 kB / 0.5717 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.6373, allocations: 4 kB / 0.5717 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.638, allocations: 131.8 kB / 0.5718 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.638, allocations: 11.92 kB / 0.5718 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.6384, allocations: 51.7 kB / 0.5719 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.6385, allocations: 20 kB / 0.5719 GB, free: 10.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.trigger.pulsStart,trigger.pulsStart,limPIDInp.trigger,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001678/0.6386, allocations: 119.6 kB / 0.572 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.6388, allocations: 86.97 kB / 0.5721 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.6391, allocations: 88.58 kB / 0.5722 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6391, allocations: 8 kB / 0.5722 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.6391, allocations: 0 / 0.5722 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.6391, allocations: 3.984 kB / 0.5722 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.6411, allocations: 1.291 MB / 0.5734 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6411, allocations: 0 / 0.5734 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.6418, allocations: 115.8 kB / 0.5736 GB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.6418, allocations: 3.953 kB / 0.5736 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.6418, allocations: 8 kB / 0.5736 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6418, allocations: 0 / 0.5736 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6418, allocations: 4 kB / 0.5736 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.6431, allocations: 0.8461 MB / 0.5744 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.6434, allocations: 223.8 kB / 0.5746 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6435, allocations: 3.953 kB / 0.5746 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.644, allocations: 47.95 kB / 0.5747 GB, free: 7.508 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.6442, allocations: 40.5 kB / 0.5747 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.6442, allocations: 16 kB / 0.5747 GB, free: 7.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005628/0.6448, allocations: 423.1 kB / 0.5751 GB, free: 7.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6448, allocations: 1.312 kB / 0.5751 GB, free: 7.047 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008337/0.6456, allocations: 254.9 kB / 0.5754 GB, free: 6.797 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001862/0.6458, allocations: 107.2 kB / 0.5755 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.6472, allocations: 0.7114 MB / 0.5762 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.6472, allocations: 0 / 0.5762 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.6476, allocations: 234 kB / 0.5764 GB, free: 5.734 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.6487, allocations: 203.7 kB / 0.5766 GB, free: 5.539 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.6513, allocations: 1.093 MB / 0.5776 GB, free: 4.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/0.6519, allocations: 1.003 MB / 0.5786 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007865/0.6527, allocations: 160.8 kB / 0.5788 GB, free: 3.219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.6529, allocations: 51.42 kB / 0.5788 GB, free: 3.168 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6529, allocations: 3.938 kB / 0.5788 GB, free: 3.164 MB / 426.7 MB Notification: Performance of Templates: time 0.01865/0.6716, allocations: 9.611 MB / 0.5882 GB, free: 9.648 MB / 442.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)