Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00151/0.00151, allocations: 109.4 kB / 16.41 MB, free: 6.496 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.001774/0.001773, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.848/0.848, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002567/0.002567, allocations: 63.42 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1995, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005518/0.205, allocations: 4.332 MB / 0.6645 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.208, allocations: 1.589 MB / 0.6661 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004359/0.2084, allocations: 39.81 kB / 0.6661 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.2088, allocations: 162.2 kB / 0.6663 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006384/0.2095, allocations: 240.5 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.2107, allocations: 0.671 MB / 0.6672 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001153/0.2119, allocations: 1.218 MB / 0.6683 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.2126, allocations: 0.5001 MB / 0.6688 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.2131, allocations: 473.9 kB / 0.6693 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.2136, allocations: 469.3 kB / 0.6697 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.2137, allocations: 100 kB / 0.6698 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.2138, allocations: 104 kB / 0.6699 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.214, allocations: 235.1 kB / 0.6701 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003934/0.2144, allocations: 497.1 kB / 0.6706 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.2155, allocations: 1.16 MB / 0.6718 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2155, allocations: 0 / 0.6718 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2155, allocations: 3.938 kB / 0.6718 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.2155, allocations: 0 / 0.6718 GB, free: 14.5 MB / 0.5137 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.002321/0.2178, allocations: 1.395 MB / 0.6731 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2179, allocations: 8.031 kB / 0.6731 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.2181, allocations: 119.5 kB / 0.6732 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.2194, allocations: 0.7665 MB / 0.674 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.2195, allocations: 80.25 kB / 0.6741 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.2196, allocations: 72.38 kB / 0.6741 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.2209, allocations: 0.729 MB / 0.6748 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2209, allocations: 0 / 0.6748 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.221, allocations: 32 kB / 0.6749 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.221, allocations: 16 kB / 0.6749 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.2221, allocations: 0.5243 MB / 0.6754 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003248/0.2253, allocations: 2.247 MB / 0.6776 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.2268, allocations: 0.6183 MB / 0.6782 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.2273, allocations: 274.4 kB / 0.6785 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.2274, allocations: 16.55 kB / 0.6785 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006649/0.228, allocations: 319 kB / 0.6788 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.114e-06/0.228, allocations: 4 kB / 0.6788 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001625/0.2297, allocations: 0.7478 MB / 0.6795 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.2297, allocations: 81.67 kB / 0.6796 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008959/0.2306, allocations: 0.7672 MB / 0.6803 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.088e-05/0.2307, allocations: 37.7 kB / 0.6804 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003605/0.2311, allocations: 436.5 kB / 0.6808 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.2312, allocations: 201 kB / 0.681 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.2314, allocations: 110.3 kB / 0.6811 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2316, allocations: 326 kB / 0.6814 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.232, allocations: 219.3 kB / 0.6816 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.2326, allocations: 304.4 kB / 0.6819 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000972/0.2336, allocations: 0.5036 MB / 0.6824 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2336, allocations: 4 kB / 0.6824 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001245/0.2348, allocations: 0.65 MB / 0.683 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2349, allocations: 13.5 kB / 0.6831 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2349, allocations: 0 / 0.6831 GB, free: 2.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.2349, allocations: 8 kB / 0.6831 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.2356, allocations: 148 kB / 0.6832 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/0.2356, allocations: 11.94 kB / 0.6832 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.236, allocations: 75.28 kB / 0.6833 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.236, allocations: 20 kB / 0.6833 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000629/0.2367, allocations: 357.4 kB / 0.6836 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000478/0.2372, allocations: 292.5 kB / 0.6839 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009136/0.2381, allocations: 491.7 kB / 0.6844 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.2381, allocations: 0 / 0.6844 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001124/0.2392, allocations: 0.6307 MB / 0.685 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.2392, allocations: 11.97 kB / 0.685 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2393, allocations: 4 kB / 0.685 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.2393, allocations: 4 kB / 0.685 GB, free: 488 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005867/0.2399, allocations: 139.8 kB / 0.6852 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2399, allocations: 4 kB / 0.6852 GB, free: 344 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.2402, allocations: 63.44 kB / 0.6852 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.2403, allocations: 20 kB / 0.6852 GB, free: 260 kB / 0.5137 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.2405, allocations: 220.2 kB / 0.6855 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.2406, allocations: 94.91 kB / 0.6855 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.2408, allocations: 105.1 kB / 0.6856 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2408, allocations: 4 kB / 0.6856 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.2408, allocations: 3.938 kB / 0.6857 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2408, allocations: 7.984 kB / 0.6857 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.2429, allocations: 1.443 MB / 0.6871 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2429, allocations: 0 / 0.6871 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.2435, allocations: 103.8 kB / 0.6872 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.2435, allocations: 4 kB / 0.6872 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.2435, allocations: 12 kB / 0.6872 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2435, allocations: 4 kB / 0.6872 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2435, allocations: 4 kB / 0.6872 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.2452, allocations: 0.9634 MB / 0.6881 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002422/0.2454, allocations: 223.7 kB / 0.6883 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.2455, allocations: 12 kB / 0.6884 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004183/0.2459, allocations: 31.95 kB / 0.6884 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.08e-05/0.246, allocations: 36.52 kB / 0.6884 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.2461, allocations: 19.98 kB / 0.6884 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005848/0.2467, allocations: 0.5185 MB / 0.6889 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2467, allocations: 0 / 0.6889 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006574/0.2473, allocations: 275.1 kB / 0.6892 GB, free: 12.09 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.2475, allocations: 119.1 kB / 0.6893 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.249, allocations: 0.7877 MB / 0.6901 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2491, allocations: 0 / 0.6901 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005064/0.2496, allocations: 276 kB / 0.6904 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2507, allocations: 262.5 kB / 0.6906 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.2531, allocations: 1.6 MB / 0.6922 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.2537, allocations: 0.9898 MB / 0.6931 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.2539, allocations: 71.36 kB / 0.6932 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.2539, allocations: 0 / 0.6932 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of Templates: time 0.01432/0.2682, allocations: 11.02 MB / 0.704 GB, free: 12.99 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)