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.001598/0.001598, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8897/0.8897, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.514/1.514, allocations: 221.3 MB / 400.4 MB, free: 5.777 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 105.1 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.707e-05, allocations: 2.531 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1615, allocations: 82.31 MB / 0.6404 GB, free: 7.832 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6062/0.7677, allocations: 119.6 MB / 0.7572 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.7679, allocations: 75.27 kB / 0.7573 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04627/0.8142, allocations: 19.83 MB / 0.7766 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8142, allocations: 0 / 0.7766 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001235/0.8144, allocations: 24 kB / 0.7767 GB, free: 17.66 MB / 0.5105 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.002167/0.8166, allocations: 1.085 MB / 0.7777 GB, free: 16.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.8166, allocations: 12.03 kB / 0.7777 GB, free: 16.59 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.817, allocations: 118.6 kB / 0.7778 GB, free: 16.47 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.8185, allocations: 0.722 MB / 0.7785 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.752e-05/0.8186, allocations: 85.81 kB / 0.7786 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/0.8187, allocations: 72.03 kB / 0.7787 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.8198, allocations: 0.7228 MB / 0.7794 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.8198, allocations: 11.88 kB / 0.7794 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.356e-05/0.8199, allocations: 30.06 kB / 0.7794 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.8199, allocations: 19.98 kB / 0.7795 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.8207, allocations: 487.1 kB / 0.7799 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.8241, allocations: 2.345 MB / 0.7822 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.8251, allocations: 0.5947 MB / 0.7828 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.8255, allocations: 220.2 kB / 0.783 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/0.8255, allocations: 12.52 kB / 0.783 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004904/0.826, allocations: 296.7 kB / 0.7833 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 2.544e-06/0.8261, allocations: 4 kB / 0.7833 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=60): time 0.0008875/0.8269, allocations: 0.5266 MB / 0.7838 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.827, allocations: 140.1 kB / 0.784 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.8278, allocations: 0.6469 MB / 0.7846 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.8279, allocations: 37.2 kB / 0.7846 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.8282, allocations: 448.5 kB / 0.785 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.8283, allocations: 201.3 kB / 0.7852 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.8283, allocations: 11.62 kB / 0.7853 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.8285, allocations: 328.4 kB / 0.7856 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.8288, allocations: 185.7 kB / 0.7857 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.8291, allocations: 296.9 kB / 0.786 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.8295, allocations: 208.7 kB / 0.7862 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8295, allocations: 0 / 0.7862 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008876/0.8304, allocations: 0.6161 MB / 0.7868 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000333/0.8307, allocations: 0.8779 MB / 0.7877 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.8307, allocations: 4 kB / 0.7877 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.8308, allocations: 4 kB / 0.7877 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008463/0.8316, allocations: 166.7 kB / 0.7878 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.8316, allocations: 7.984 kB / 0.7879 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.8322, allocations: 86.08 kB / 0.7879 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/0.8323, allocations: 22.25 kB / 0.788 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.8323, allocations: 7.938 kB / 0.788 GB, free: 8.238 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008007/0.8331, allocations: 0.4979 MB / 0.7885 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.8331, allocations: 4 kB / 0.7885 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/0.8331, allocations: 4 kB / 0.7885 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.8339, allocations: 151.6 kB / 0.7886 GB, free: 7.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.8339, allocations: 8.25 kB / 0.7886 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.8344, allocations: 73.38 kB / 0.7887 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.199e-05/0.8344, allocations: 23.17 kB / 0.7887 GB, free: 7.672 MB / 0.5105 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 () * 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.0001754/0.8346, allocations: 143.2 kB / 0.7888 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.8347, allocations: 94.78 kB / 0.7889 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.835, allocations: 107.2 kB / 0.789 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.835, allocations: 8 kB / 0.789 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.835, allocations: 0 / 0.789 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.835, allocations: 3.984 kB / 0.789 GB, free: 7.387 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.8371, allocations: 1.445 MB / 0.7905 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.8371, allocations: 0 / 0.7905 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.8377, allocations: 111 kB / 0.7906 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.8377, allocations: 4 kB / 0.7906 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/0.8377, allocations: 10.94 kB / 0.7906 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.8377, allocations: 3.938 kB / 0.7906 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.8378, allocations: 4 kB / 0.7906 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.8391, allocations: 0.917 MB / 0.7915 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.8394, allocations: 237.2 kB / 0.7917 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.015e-05/0.8395, allocations: 10.94 kB / 0.7917 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.8401, allocations: 51.2 kB / 0.7918 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.8402, allocations: 35.39 kB / 0.7918 GB, free: 5.254 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.8402, allocations: 27.3 kB / 0.7918 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006235/0.8408, allocations: 0.5043 MB / 0.7923 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8408, allocations: 0 / 0.7923 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007575/0.8416, allocations: 288.2 kB / 0.7926 GB, free: 4.602 MB / 0.5105 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 () * 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.000187/0.8418, allocations: 118.2 kB / 0.7927 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.843, allocations: 0.7883 MB / 0.7935 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.843, allocations: 3.938 kB / 0.7935 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.8434, allocations: 252 kB / 0.7937 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.8444, allocations: 229.1 kB / 0.7939 GB, free: 3.617 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.8465, allocations: 1.174 MB / 0.7951 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.8471, allocations: 1.015 MB / 0.7961 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007704/0.8478, allocations: 165.6 kB / 0.7962 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.848, allocations: 51.42 kB / 0.7963 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of SimCode: time 9.22e-07/0.848, allocations: 0 / 0.7963 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of Templates: time 0.01856/0.8666, allocations: 10.77 MB / 0.8068 GB, free: 6.66 MB / 0.5261 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)