Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01064/0.01064, 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.8202/0.8202, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.821/1.821, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.001073/0.001073, allocations: 93.61 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004113, allocations: 12 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5804/0.5808, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.7692, allocations: 119.3 MB / 0.766 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.7696, allocations: 87.89 kB / 0.7661 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.04765/0.8173, allocations: 16.93 MB / 0.7826 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.968e-06/0.8174, allocations: 4 kB / 0.7826 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.648e-05/0.8174, allocations: 12 kB / 0.7826 GB, free: 11.62 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002294/0.8197, allocations: 1.071 MB / 0.7836 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.8198, allocations: 8.031 kB / 0.7837 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.82, allocations: 98.83 kB / 0.7837 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.8211, allocations: 0.5824 MB / 0.7843 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.8213, allocations: 96.41 kB / 0.7844 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.8214, allocations: 52 kB / 0.7845 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.8227, allocations: 0.6575 MB / 0.7851 GB, free: 8.898 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.8227, allocations: 11.94 kB / 0.7851 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-05/0.8228, allocations: 23.95 kB / 0.7851 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.8228, allocations: 16 kB / 0.7851 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.8239, allocations: 499.6 kB / 0.7856 GB, free: 8.355 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.8272, allocations: 2.205 MB / 0.7878 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.8286, allocations: 0.5969 MB / 0.7884 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.8286, allocations: 8.703 kB / 0.7884 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007896/0.8294, allocations: 321.9 kB / 0.7887 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=45): time 4.609e-06/0.8294, allocations: 1.094 kB / 0.7887 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of matching and sorting (n=45): time 0.001694/0.8311, allocations: 0.7203 MB / 0.7894 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/0.8313, allocations: 195.7 kB / 0.7896 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000767/0.8321, allocations: 0.5349 MB / 0.7901 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/0.8322, allocations: 41.69 kB / 0.7901 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.8325, allocations: 352.8 kB / 0.7905 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.8327, allocations: 157.8 kB / 0.7906 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.8327, allocations: 12 kB / 0.7906 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.8329, allocations: 333.9 kB / 0.7909 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.8334, allocations: 213 kB / 0.7911 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.834, allocations: 339.6 kB / 0.7915 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.8346, allocations: 258.5 kB / 0.7917 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8346, allocations: 3.938 kB / 0.7917 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001399/0.836, allocations: 0.6646 MB / 0.7924 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000561/0.8366, allocations: 0.9947 MB / 0.7933 GB, free: 132 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.8366, allocations: 3.938 kB / 0.7933 GB, free: 128 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.8366, allocations: 8 kB / 0.7934 GB, free: 120 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.8371, allocations: 115.9 kB / 0.7935 GB, free: 4 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6043/1.441, allocations: 6.328 kB / 0.7935 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.443, allocations: 85.34 kB / 0.7936 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/1.443, allocations: 19.91 kB / 0.7936 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.443, allocations: 3.125 kB / 0.7936 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001801/1.445, allocations: 0.544 MB / 0.7941 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.445, allocations: 3.5 kB / 0.7941 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.445, allocations: 10.25 kB / 0.7941 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/1.445, allocations: 114 kB / 0.7942 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/1.445, allocations: 8.469 kB / 0.7942 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/1.446, allocations: 78.58 kB / 0.7943 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/1.446, allocations: 18.8 kB / 0.7943 GB, free: 132 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0005958/1.447, allocations: 281.2 kB / 0.7946 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/1.447, allocations: 74.42 kB / 0.7947 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/1.447, allocations: 80.64 kB / 0.7947 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.447, allocations: 4.938 kB / 0.7948 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.447, allocations: 0 / 0.7948 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/1.447, allocations: 3.828 kB / 0.7948 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.448, allocations: 0.653 MB / 0.7954 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.448, allocations: 1.828 kB / 0.7954 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/1.449, allocations: 99.52 kB / 0.7955 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.449, allocations: 2.625 kB / 0.7955 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.315e-05/1.449, allocations: 11.78 kB / 0.7955 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/1.449, allocations: 1.719 kB / 0.7955 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.449, allocations: 1.688 kB / 0.7955 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/1.451, allocations: 0.83 MB / 0.7963 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/1.452, allocations: 200.7 kB / 0.7965 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/1.452, allocations: 11.02 kB / 0.7965 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/1.452, allocations: 63.53 kB / 0.7966 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.452, allocations: 33.12 kB / 0.7966 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-05/1.452, allocations: 23.75 kB / 0.7966 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008539/1.453, allocations: 429.5 kB / 0.797 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.453, allocations: 0.5312 kB / 0.797 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009954/1.454, allocations: 239.3 kB / 0.7973 GB, free: 131.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002374/1.455, allocations: 114.1 kB / 0.7974 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002365/1.457, allocations: 0.8876 MB / 0.7982 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.457, allocations: 4.969 kB / 0.7983 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006855/1.458, allocations: 254.1 kB / 0.7985 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009934/1.459, allocations: 182.2 kB / 0.7987 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/1.462, allocations: 1.393 MB / 0.8 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/1.463, allocations: 0.9345 MB / 0.8009 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005906/1.463, allocations: 92.58 kB / 0.801 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/1.463, allocations: 44.7 kB / 0.8011 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/1.463, allocations: 0 / 0.8011 GB, free: 129.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.02048/1.484, allocations: 7.737 MB / 0.8086 GB, free: 129.3 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)