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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001293/0.001293, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 223.3 MB / 240 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.112/1.112, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003915, allocations: 11.94 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2419, allocations: 82.31 MB / 0.5874 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004823/0.2467, allocations: 3.656 MB / 0.5909 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003609/0.2504, allocations: 1.492 MB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006344/0.2511, allocations: 35.81 kB / 0.5924 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.2514, allocations: 110.9 kB / 0.5925 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.252, allocations: 174.7 kB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.2534, allocations: 0.5169 MB / 0.5932 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.2547, allocations: 1.043 MB / 0.5942 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005883/0.2553, allocations: 359.3 kB / 0.5946 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.2559, allocations: 346 kB / 0.5949 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.2563, allocations: 329.8 kB / 0.5952 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.2564, allocations: 24 kB / 0.5952 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-05/0.2565, allocations: 31.94 kB / 0.5953 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.2566, allocations: 135.2 kB / 0.5954 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.2568, allocations: 173.1 kB / 0.5956 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008175/0.2576, allocations: 0.8107 MB / 0.5963 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2576, allocations: 0 / 0.5963 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2577, allocations: 4 kB / 0.5964 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.2577, allocations: 0 / 0.5964 GB, free: 9.766 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002364/0.26, allocations: 1.243 MB / 0.5976 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.2601, allocations: 16.02 kB / 0.5976 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.2603, allocations: 118.5 kB / 0.5977 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.2616, allocations: 0.7035 MB / 0.5984 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.2617, allocations: 83.7 kB / 0.5985 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.2618, allocations: 71.91 kB / 0.5985 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.2632, allocations: 0.7328 MB / 0.5992 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2632, allocations: 0 / 0.5992 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.2633, allocations: 28 kB / 0.5993 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.2633, allocations: 16 kB / 0.5993 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.2645, allocations: 0.5321 MB / 0.5998 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004136/0.2686, allocations: 2.294 MB / 0.602 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.2702, allocations: 0.6339 MB / 0.6027 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006058/0.2709, allocations: 278.4 kB / 0.6029 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.746e-05/0.2709, allocations: 8.562 kB / 0.6029 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008148/0.2718, allocations: 323.1 kB / 0.6032 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.2718, allocations: 0 / 0.6032 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001823/0.2736, allocations: 0.7715 MB / 0.604 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.2737, allocations: 85.67 kB / 0.6041 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000941/0.2747, allocations: 0.7478 MB / 0.6048 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.2747, allocations: 33.7 kB / 0.6048 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.2752, allocations: 436.4 kB / 0.6053 GB, free: 360 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.2754, allocations: 205.1 kB / 0.6055 GB, free: 152 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.2755, allocations: 16 kB / 0.6055 GB, free: 136 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.5055/0.781, allocations: 331.8 kB / 0.6058 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.7821, allocations: 200.9 kB / 0.606 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.7828, allocations: 306.8 kB / 0.6063 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.7833, allocations: 239.3 kB / 0.6065 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7833, allocations: 0 / 0.6065 GB, free: 48.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001485/0.7848, allocations: 0.6588 MB / 0.6071 GB, free: 48.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.659e-05/0.7849, allocations: 159.5 kB / 0.6073 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.7849, allocations: 2.688 kB / 0.6073 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.785, allocations: 8 kB / 0.6073 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/0.7856, allocations: 152 kB / 0.6075 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.7857, allocations: 6.766 kB / 0.6075 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.7862, allocations: 76.42 kB / 0.6075 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.7862, allocations: 25.69 kB / 0.6076 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/0.7862, allocations: 3.25 kB / 0.6076 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009971/0.7872, allocations: 0.5202 MB / 0.6081 GB, free: 48.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7873, allocations: 3.188 kB / 0.6081 GB, free: 48.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.7873, allocations: 8.891 kB / 0.6081 GB, free: 48.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.7878, allocations: 144 kB / 0.6082 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7878, allocations: 6.156 kB / 0.6082 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.7883, allocations: 70.53 kB / 0.6083 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.7883, allocations: 27.73 kB / 0.6083 GB, free: 48 MB / 0.4981 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,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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.0005151/0.7888, allocations: 294 kB / 0.6086 GB, free: 47.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.7889, allocations: 92.59 kB / 0.6087 GB, free: 47.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.7892, allocations: 112.3 kB / 0.6088 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.7892, allocations: 6.031 kB / 0.6088 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.7892, allocations: 0 / 0.6088 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.7892, allocations: 4.062 kB / 0.6088 GB, free: 47.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.7917, allocations: 1.453 MB / 0.6102 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7917, allocations: 3.953 kB / 0.6102 GB, free: 47.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005217/0.7922, allocations: 108.8 kB / 0.6103 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.946e-06/0.7923, allocations: 3 kB / 0.6103 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.7923, allocations: 11.62 kB / 0.6103 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.7923, allocations: 3.031 kB / 0.6103 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7923, allocations: 0 / 0.6103 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.7939, allocations: 0.9782 MB / 0.6113 GB, free: 47.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.7942, allocations: 230.8 kB / 0.6115 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.321e-05/0.7943, allocations: 9.562 kB / 0.6115 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.7946, allocations: 39.3 kB / 0.6116 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.7947, allocations: 37.31 kB / 0.6116 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.7948, allocations: 21.34 kB / 0.6116 GB, free: 47.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007606/0.7956, allocations: 0.5108 MB / 0.6121 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7956, allocations: 3.828 kB / 0.6121 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008704/0.7964, allocations: 273.5 kB / 0.6124 GB, free: 46.95 MB / 0.4981 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 (trigger.y,$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.0001993/0.7967, allocations: 114.9 kB / 0.6125 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.7984, allocations: 0.7997 MB / 0.6133 GB, free: 46.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7984, allocations: 0 / 0.6133 GB, free: 46.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.7989, allocations: 270.6 kB / 0.6135 GB, free: 46.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.8001, allocations: 243.2 kB / 0.6138 GB, free: 46.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.8028, allocations: 1.824 MB / 0.6155 GB, free: 45.69 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.8033, allocations: 0.9904 MB / 0.6165 GB, free: 44.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005625/0.8039, allocations: 119.4 kB / 0.6166 GB, free: 44.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.8041, allocations: 60.61 kB / 0.6167 GB, free: 44.95 MB / 0.4981 GB Notification: Performance of SimCode: time 1.723e-06/0.8041, allocations: 0 / 0.6167 GB, free: 44.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.01985/0.8239, allocations: 8.387 MB / 0.6249 GB, free: 44.41 MB / 0.4981 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)