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.001229/0.001229, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001297/0.001297, allocations: 183 kB / 17.34 MB, free: 5.75 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7916/0.7916, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.22 kB / 0.5862 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1798, allocations: 80.92 MB / 0.6653 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006099/0.186, allocations: 4.322 MB / 0.6695 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.1896, allocations: 1.593 MB / 0.671 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000759/0.1904, allocations: 31.88 kB / 0.6711 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1908, allocations: 178.1 kB / 0.6712 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008336/0.1917, allocations: 238.1 kB / 0.6715 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1933, allocations: 0.6629 MB / 0.6721 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1949, allocations: 1.23 MB / 0.6733 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/0.1957, allocations: 0.5079 MB / 0.6738 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.1964, allocations: 469.9 kB / 0.6743 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005777/0.197, allocations: 469.4 kB / 0.6747 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.1972, allocations: 104 kB / 0.6748 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.1973, allocations: 100 kB / 0.6749 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.1975, allocations: 235.1 kB / 0.6751 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.1979, allocations: 489 kB / 0.6756 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.1991, allocations: 1.156 MB / 0.6767 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.1991, allocations: 0 / 0.6767 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.224e-06/0.1991, allocations: 0 / 0.6767 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.957e-05/0.1991, allocations: 7.875 kB / 0.6767 GB, free: 10.04 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.002512/0.2017, allocations: 1.403 MB / 0.6781 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.2017, allocations: 13.11 kB / 0.6781 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2019, allocations: 127.4 kB / 0.6782 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.2035, allocations: 0.747 MB / 0.679 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.2036, allocations: 88.2 kB / 0.679 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2037, allocations: 72.38 kB / 0.6791 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.2051, allocations: 0.7368 MB / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.2051, allocations: 0 / 0.6798 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.2052, allocations: 28 kB / 0.6799 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.2052, allocations: 16 kB / 0.6799 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2063, allocations: 0.5204 MB / 0.6804 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.2097, allocations: 2.243 MB / 0.6826 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2112, allocations: 0.6154 MB / 0.6832 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005161/0.2117, allocations: 274.4 kB / 0.6834 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.2118, allocations: 4.562 kB / 0.6834 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006775/0.2124, allocations: 327 kB / 0.6837 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 3.196e-06/0.2124, allocations: 0 / 0.6837 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.00166/0.2141, allocations: 0.7594 MB / 0.6845 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.2142, allocations: 85.67 kB / 0.6846 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.2151, allocations: 0.7555 MB / 0.6853 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.2152, allocations: 37.7 kB / 0.6853 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.2155, allocations: 440.5 kB / 0.6858 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.2157, allocations: 205 kB / 0.686 GB, free: 300 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.2159, allocations: 110.3 kB / 0.6861 GB, free: 184 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.216, allocations: 330 kB / 0.6864 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.2165, allocations: 207.4 kB / 0.6866 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.217, allocations: 308.4 kB / 0.6869 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009838/0.218, allocations: 0.5113 MB / 0.6874 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.218, allocations: 0 / 0.6874 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001244/0.2193, allocations: 0.654 MB / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2193, allocations: 4 kB / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2193, allocations: 7.984 kB / 0.688 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.2193, allocations: 4 kB / 0.688 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/0.22, allocations: 139.8 kB / 0.6882 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.22, allocations: 15.92 kB / 0.6882 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.2205, allocations: 71.52 kB / 0.6882 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.2205, allocations: 23.98 kB / 0.6883 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006299/0.2212, allocations: 353.4 kB / 0.6886 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004791/0.2216, allocations: 296.4 kB / 0.6889 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008924/0.2225, allocations: 487.7 kB / 0.6893 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.2226, allocations: 4 kB / 0.6894 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00117/0.2237, allocations: 0.6343 MB / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2238, allocations: 8 kB / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.2238, allocations: 0 / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.2238, allocations: 4 kB / 0.69 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.2244, allocations: 148 kB / 0.6901 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2244, allocations: 11.94 kB / 0.6901 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.2248, allocations: 63.44 kB / 0.6902 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.2249, allocations: 20 kB / 0.6902 GB, free: 11.77 MB / 0.5294 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.0002294/0.2251, allocations: 214 kB / 0.6904 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2252, allocations: 90.88 kB / 0.6905 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.2255, allocations: 105.2 kB / 0.6906 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.2255, allocations: 8 kB / 0.6906 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.2255, allocations: 7.922 kB / 0.6906 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2255, allocations: 0 / 0.6906 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.2277, allocations: 1.443 MB / 0.692 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.2277, allocations: 0 / 0.692 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.2283, allocations: 107.8 kB / 0.6921 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2283, allocations: 0 / 0.6921 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.2284, allocations: 12 kB / 0.6921 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.2284, allocations: 4 kB / 0.6921 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2284, allocations: 0 / 0.6921 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.2301, allocations: 0.9634 MB / 0.6931 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.2304, allocations: 223.8 kB / 0.6933 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.2305, allocations: 12 kB / 0.6933 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.2309, allocations: 35.97 kB / 0.6933 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.231, allocations: 36.59 kB / 0.6934 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.2311, allocations: 19.98 kB / 0.6934 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000662/0.2317, allocations: 0.5146 MB / 0.6939 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2317, allocations: 0 / 0.6939 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007486/0.2325, allocations: 279 kB / 0.6942 GB, free: 7.621 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.0001703/0.2327, allocations: 120.5 kB / 0.6943 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.2343, allocations: 0.7962 MB / 0.6951 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2343, allocations: 0 / 0.6951 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.2349, allocations: 267.1 kB / 0.6953 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.236, allocations: 270.2 kB / 0.6956 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.2387, allocations: 1.59 MB / 0.6971 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.2393, allocations: 0.9977 MB / 0.6981 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.2396, allocations: 59.44 kB / 0.6982 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2396, allocations: 0 / 0.6982 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of Templates: time 0.01791/0.2575, allocations: 11.03 MB / 0.7089 GB, free: 8.5 MB / 0.545 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)