Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008378/0.008378, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8036/0.8036, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.766/1.766, allocations: 223.2 MB / 406.9 MB, free: 3.203 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 94.5 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.0005122, allocations: 15.92 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.559, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.7526, allocations: 119.7 MB / 0.7663 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003779/0.7531, allocations: 83.95 kB / 0.7664 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05657/0.8097, allocations: 19.87 MB / 0.7858 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.146e-06/0.8098, allocations: 0 / 0.7858 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001114/0.8099, allocations: 24 kB / 0.7858 GB, free: 8.297 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002689/0.8126, allocations: 1.241 MB / 0.787 GB, free: 7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.8126, allocations: 8.031 kB / 0.787 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.8129, allocations: 118.6 kB / 0.7872 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.8144, allocations: 0.7385 MB / 0.7879 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.8145, allocations: 79.7 kB / 0.788 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.8147, allocations: 68 kB / 0.788 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.8162, allocations: 0.7899 MB / 0.7888 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.8163, allocations: 0 / 0.7888 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/0.8163, allocations: 24 kB / 0.7888 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.8164, allocations: 20 kB / 0.7888 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.8176, allocations: 0.5673 MB / 0.7894 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.822, allocations: 2.349 MB / 0.7917 GB, free: 2.078 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.8238, allocations: 0.7069 MB / 0.7924 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.8239, allocations: 8.734 kB / 0.7924 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009008/0.8248, allocations: 354.9 kB / 0.7927 GB, free: 1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=60): time 3.757e-06/0.8248, allocations: 3.938 kB / 0.7927 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of matching and sorting (n=60): time 0.002056/0.8269, allocations: 0.8224 MB / 0.7935 GB, free: 172 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.827, allocations: 137.1 kB / 0.7937 GB, free: 4 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4578/1.285, allocations: 0.6509 MB / 0.7943 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/1.285, allocations: 39.67 kB / 0.7943 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/1.286, allocations: 434.9 kB / 0.7947 GB, free: 129.6 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/1.286, allocations: 206.1 kB / 0.7949 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/1.286, allocations: 12.03 kB / 0.795 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/1.286, allocations: 328.2 kB / 0.7953 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/1.287, allocations: 227.4 kB / 0.7955 GB, free: 129.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/1.287, allocations: 345.6 kB / 0.7958 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006235/1.288, allocations: 253.5 kB / 0.7961 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.288, allocations: 0.8438 kB / 0.7961 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001851/1.29, allocations: 0.6965 MB / 0.7967 GB, free: 129 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002767/1.29, allocations: 0.8822 MB / 0.7976 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.29, allocations: 1.656 kB / 0.7976 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/1.29, allocations: 9.906 kB / 0.7976 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.291, allocations: 155.2 kB / 0.7978 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/1.291, allocations: 8.547 kB / 0.7978 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/1.292, allocations: 85.02 kB / 0.7978 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/1.292, allocations: 30.17 kB / 0.7979 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.292, allocations: 3.906 kB / 0.7979 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001511/1.294, allocations: 0.5568 MB / 0.7984 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.294, allocations: 2.219 kB / 0.7984 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.294, allocations: 5.953 kB / 0.7984 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009107/1.295, allocations: 154.1 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/1.295, allocations: 9.188 kB / 0.7986 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/1.295, allocations: 77.59 kB / 0.7987 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/1.296, allocations: 23.33 kB / 0.7987 GB, free: 128.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0007248/1.296, allocations: 296 kB / 0.799 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/1.296, allocations: 98.33 kB / 0.7991 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000246/1.297, allocations: 100.2 kB / 0.7992 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/1.297, allocations: 7.156 kB / 0.7992 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.297, allocations: 0 / 0.7992 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.297, allocations: 6.953 kB / 0.7992 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/1.3, allocations: 1.531 MB / 0.8007 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.3, allocations: 1.328 kB / 0.8007 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/1.301, allocations: 111 kB / 0.8008 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/1.301, allocations: 5 kB / 0.8008 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/1.301, allocations: 13.47 kB / 0.8008 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.301, allocations: 2.531 kB / 0.8008 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.301, allocations: 1.062 kB / 0.8008 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/1.303, allocations: 1.04 MB / 0.8018 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/1.304, allocations: 233.2 kB / 0.802 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/1.304, allocations: 13.58 kB / 0.802 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/1.304, allocations: 48.53 kB / 0.8021 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.305, allocations: 34.78 kB / 0.8021 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/1.305, allocations: 22.44 kB / 0.8021 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001168/1.306, allocations: 0.5166 MB / 0.8026 GB, free: 127 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/1.306, allocations: 0.75 kB / 0.8026 GB, free: 127 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001387/1.307, allocations: 292.2 kB / 0.8029 GB, free: 127 MB / 0.5573 GB 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.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.00025/1.308, allocations: 119.8 kB / 0.803 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002647/1.31, allocations: 0.8691 MB / 0.8039 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.31, allocations: 0.5938 kB / 0.8039 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009005/1.311, allocations: 295 kB / 0.8042 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/1.313, allocations: 223.8 kB / 0.8044 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/1.316, allocations: 1.827 MB / 0.8062 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/1.317, allocations: 1.012 MB / 0.8072 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006676/1.318, allocations: 123.2 kB / 0.8073 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/1.318, allocations: 59.19 kB / 0.8073 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.452e-06/1.318, allocations: 0 / 0.8073 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.01755/1.335, allocations: 9.105 MB / 0.8162 GB, free: 124.4 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)