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.001502/0.001502, allocations: 107.6 kB / 16.41 MB, free: 6.508 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.001481/0.001481, allocations: 187 kB / 17.34 MB, free: 5.742 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.843/0.843, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 62.52 kB / 0.582 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1987, allocations: 80.21 MB / 0.6603 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006746/0.2055, allocations: 4.324 MB / 0.6645 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004198/0.2097, allocations: 1.597 MB / 0.6661 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.211, allocations: 35.81 kB / 0.6661 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007074/0.2117, allocations: 162.2 kB / 0.6663 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2132, allocations: 230.1 kB / 0.6665 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.215, allocations: 0.6655 MB / 0.6671 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.2171, allocations: 1.226 MB / 0.6683 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.2181, allocations: 0.4923 MB / 0.6688 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009171/0.219, allocations: 481.9 kB / 0.6693 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008455/0.2199, allocations: 461.4 kB / 0.6697 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.2201, allocations: 104 kB / 0.6698 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.2202, allocations: 104 kB / 0.6699 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.2204, allocations: 231.1 kB / 0.6701 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.2209, allocations: 496.9 kB / 0.6706 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.222, allocations: 1.16 MB / 0.6717 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2221, allocations: 0 / 0.6717 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2221, allocations: 4 kB / 0.6717 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.2221, allocations: 0 / 0.6717 GB, free: 14.61 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.002347/0.2244, allocations: 1.407 MB / 0.6731 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2245, allocations: 8.031 kB / 0.6731 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.2247, allocations: 119.5 kB / 0.6732 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.226, allocations: 0.7509 MB / 0.674 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2261, allocations: 88.25 kB / 0.6741 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.2262, allocations: 72.38 kB / 0.6741 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.2275, allocations: 0.7329 MB / 0.6748 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2275, allocations: 4 kB / 0.6748 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.2276, allocations: 24 kB / 0.6749 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.2276, allocations: 16 kB / 0.6749 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2287, allocations: 0.5204 MB / 0.6754 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.2319, allocations: 2.247 MB / 0.6776 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.2333, allocations: 0.6116 MB / 0.6782 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005092/0.2338, allocations: 282.3 kB / 0.6785 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.2339, allocations: 8.547 kB / 0.6785 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006602/0.2345, allocations: 327 kB / 0.6788 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.434e-06/0.2345, allocations: 0 / 0.6788 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001586/0.2361, allocations: 0.7439 MB / 0.6795 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.2362, allocations: 93.61 kB / 0.6796 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/0.2371, allocations: 0.7555 MB / 0.6803 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.2371, allocations: 37.7 kB / 0.6804 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.2375, allocations: 436.5 kB / 0.6808 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.2377, allocations: 205 kB / 0.681 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.2379, allocations: 114.3 kB / 0.6811 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.238, allocations: 334 kB / 0.6814 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.2385, allocations: 203.4 kB / 0.6816 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.239, allocations: 304.5 kB / 0.6819 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009883/0.24, allocations: 0.5075 MB / 0.6824 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.24, allocations: 0 / 0.6824 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001248/0.2413, allocations: 0.6578 MB / 0.683 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2413, allocations: 4 kB / 0.683 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.2413, allocations: 4 kB / 0.683 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.2414, allocations: 8.031 kB / 0.683 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.242, allocations: 147.8 kB / 0.6832 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.2421, allocations: 7.938 kB / 0.6832 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.2425, allocations: 79.47 kB / 0.6833 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.2426, allocations: 20 kB / 0.6833 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006508/0.2432, allocations: 357.4 kB / 0.6836 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005191/0.2438, allocations: 292.4 kB / 0.6839 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009167/0.2447, allocations: 491.7 kB / 0.6844 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.2447, allocations: 0 / 0.6844 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001208/0.2459, allocations: 0.6305 MB / 0.685 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.246, allocations: 8 kB / 0.685 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.246, allocations: 0 / 0.685 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.246, allocations: 8 kB / 0.685 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.2466, allocations: 140 kB / 0.6851 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/0.2467, allocations: 15.92 kB / 0.6852 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.2471, allocations: 63.45 kB / 0.6852 GB, free: 388 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.2472, allocations: 20 kB / 0.6852 GB, free: 368 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.0002399/0.2474, allocations: 217.7 kB / 0.6854 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.2476, allocations: 90.88 kB / 0.6855 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.2478, allocations: 105.2 kB / 0.6856 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.2478, allocations: 8 kB / 0.6856 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.2478, allocations: 7.875 kB / 0.6856 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.2478, allocations: 3.984 kB / 0.6856 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.2503, allocations: 1.435 MB / 0.687 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2504, allocations: 0 / 0.687 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/0.2509, allocations: 111.8 kB / 0.6872 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.251, allocations: 0 / 0.6872 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.251, allocations: 12 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.251, allocations: 4 kB / 0.6872 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.251, allocations: 0 / 0.6872 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.2529, allocations: 0.9634 MB / 0.6881 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.2532, allocations: 223.6 kB / 0.6883 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.2533, allocations: 12 kB / 0.6883 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.2538, allocations: 39.95 kB / 0.6884 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.2539, allocations: 36.52 kB / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.254, allocations: 19.98 kB / 0.6884 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007561/0.2547, allocations: 0.5185 MB / 0.6889 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2547, allocations: 0 / 0.6889 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008161/0.2556, allocations: 267.1 kB / 0.6892 GB, free: 12.21 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.0002061/0.2558, allocations: 119.2 kB / 0.6893 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.2576, allocations: 0.7924 MB / 0.6901 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2576, allocations: 0 / 0.6901 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005366/0.2582, allocations: 267.1 kB / 0.6903 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.2595, allocations: 275.4 kB / 0.6906 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.2628, allocations: 1.592 MB / 0.6921 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.2635, allocations: 0.9937 MB / 0.6931 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.2637, allocations: 71.42 kB / 0.6932 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.2637, allocations: 0 / 0.6932 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.02133/0.2851, allocations: 11.01 MB / 0.7039 GB, free: 13.11 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)