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.007592/0.007592, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001681/0.001682, allocations: 190.4 kB / 16.67 MB, free: 5.949 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.808/0.808, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.5 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1781, allocations: 80.21 MB / 0.6596 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.00618/0.1843, allocations: 4.329 MB / 0.6639 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.1876, allocations: 1.589 MB / 0.6654 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008447/0.1885, allocations: 35.81 kB / 0.6655 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.1891, allocations: 166.2 kB / 0.6656 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000971/0.1901, allocations: 246.1 kB / 0.6658 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.1917, allocations: 0.6663 MB / 0.6665 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.1933, allocations: 1.226 MB / 0.6677 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008407/0.1941, allocations: 0.4884 MB / 0.6682 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007645/0.1949, allocations: 485.9 kB / 0.6686 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006686/0.1956, allocations: 461.4 kB / 0.6691 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.1958, allocations: 100 kB / 0.6692 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.196, allocations: 104 kB / 0.6693 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.1963, allocations: 231.1 kB / 0.6695 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005145/0.1968, allocations: 497 kB / 0.67 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.198, allocations: 1.16 MB / 0.6711 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.198, allocations: 0 / 0.6711 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.755e-06/0.198, allocations: 0 / 0.6711 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.569e-05/0.1981, allocations: 7.938 kB / 0.6711 GB, free: 1.734 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.002694/0.2008, allocations: 1.395 MB / 0.6725 GB, free: 292 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2008, allocations: 8.031 kB / 0.6725 GB, free: 284 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.2011, allocations: 123.4 kB / 0.6726 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.2025, allocations: 0.7587 MB / 0.6733 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/0.2026, allocations: 84.27 kB / 0.6734 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.2027, allocations: 76.36 kB / 0.6735 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.204, allocations: 0.7329 MB / 0.6742 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.204, allocations: 0 / 0.6742 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/0.2041, allocations: 28 kB / 0.6742 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.2041, allocations: 16 kB / 0.6742 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.2052, allocations: 0.5204 MB / 0.6748 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.2086, allocations: 2.247 MB / 0.6769 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.21, allocations: 0.6154 MB / 0.6775 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005334/0.2106, allocations: 271.3 kB / 0.6778 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/0.2107, allocations: 12.55 kB / 0.6778 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006224/0.2113, allocations: 319.1 kB / 0.6781 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.064e-06/0.2113, allocations: 0 / 0.6781 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.00161/0.2129, allocations: 0.7556 MB / 0.6789 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.213, allocations: 85.67 kB / 0.6789 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/0.214, allocations: 0.7594 MB / 0.6797 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.214, allocations: 37.7 kB / 0.6797 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.2144, allocations: 436.5 kB / 0.6801 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.2146, allocations: 208.9 kB / 0.6803 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.2147, allocations: 110.3 kB / 0.6804 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2149, allocations: 330 kB / 0.6808 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/0.2154, allocations: 207.4 kB / 0.681 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.2159, allocations: 312.3 kB / 0.6813 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009492/0.2168, allocations: 0.5036 MB / 0.6817 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2169, allocations: 0 / 0.6817 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001246/0.2181, allocations: 0.6579 MB / 0.6824 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2181, allocations: 4 kB / 0.6824 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.2181, allocations: 4 kB / 0.6824 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.2182, allocations: 4 kB / 0.6824 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006315/0.2188, allocations: 147.8 kB / 0.6825 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.2188, allocations: 7.938 kB / 0.6825 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.2193, allocations: 79.47 kB / 0.6826 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.2193, allocations: 19.98 kB / 0.6826 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005773/0.2199, allocations: 353.4 kB / 0.683 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004653/0.2204, allocations: 292.5 kB / 0.6833 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008607/0.2213, allocations: 499.7 kB / 0.6837 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.2213, allocations: 3.984 kB / 0.6837 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001138/0.2224, allocations: 0.6266 MB / 0.6843 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.2224, allocations: 11.94 kB / 0.6844 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2224, allocations: 4 kB / 0.6844 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.2225, allocations: 4.25 kB / 0.6844 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.2231, allocations: 147.8 kB / 0.6845 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.2231, allocations: 4 kB / 0.6845 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.2235, allocations: 59.44 kB / 0.6846 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.2235, allocations: 20 kB / 0.6846 GB, free: 3.492 MB / 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.0001687/0.2237, allocations: 212.1 kB / 0.6848 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.2238, allocations: 90.88 kB / 0.6849 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.224, allocations: 105.2 kB / 0.685 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.224, allocations: 8 kB / 0.685 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.224, allocations: 3.938 kB / 0.685 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.224, allocations: 3.984 kB / 0.685 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.2262, allocations: 1.443 MB / 0.6864 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2262, allocations: 0 / 0.6864 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.2268, allocations: 107.8 kB / 0.6865 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.2268, allocations: 4 kB / 0.6865 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.2268, allocations: 15.98 kB / 0.6865 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2269, allocations: 0 / 0.6865 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2269, allocations: 0 / 0.6865 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.2285, allocations: 0.9673 MB / 0.6875 GB, free: 464 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.2288, allocations: 223.7 kB / 0.6877 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/0.2289, allocations: 23.94 kB / 0.6877 GB, free: 196 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.2293, allocations: 31.97 kB / 0.6877 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.2294, allocations: 32.52 kB / 0.6878 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.2294, allocations: 19.98 kB / 0.6878 GB, free: 112 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006427/0.2301, allocations: 0.5185 MB / 0.6883 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2301, allocations: 0 / 0.6883 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000721/0.2308, allocations: 275.1 kB / 0.6886 GB, free: 15.33 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.0001502/0.231, allocations: 119.1 kB / 0.6887 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001589/0.2326, allocations: 0.7919 MB / 0.6894 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2326, allocations: 0 / 0.6894 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004978/0.2331, allocations: 267.1 kB / 0.6897 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.2341, allocations: 283.2 kB / 0.69 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.2366, allocations: 1.553 MB / 0.6915 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.2372, allocations: 0.9937 MB / 0.6925 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004142/0.2376, allocations: 118.7 kB / 0.6926 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.2378, allocations: 63.42 kB / 0.6926 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2378, allocations: 0 / 0.6926 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.01746/0.2553, allocations: 9.358 MB / 0.7018 GB, free: 1.871 MB / 0.5294 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)