Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001976/0.001976, allocations: 169.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.357/1.357, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001612/0.001612, allocations: 106.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1813/0.1813, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.411e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07534/0.07538, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.312/0.3874, allocations: 78.48 MB / 484.2 MB, free: 18.68 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.3877, allocations: 63.97 kB / 484.2 MB, free: 18.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04925/0.4369, allocations: 18.33 MB / 0.4908 GB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.437, allocations: 0 / 0.4908 GB, free: 15.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001176/0.4371, allocations: 11.72 kB / 0.4908 GB, free: 15.41 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00179/0.4389, allocations: 1.03 MB / 0.4918 GB, free: 14.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.439, allocations: 7.844 kB / 0.4918 GB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.4392, allocations: 93.3 kB / 0.4919 GB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.4404, allocations: 0.6022 MB / 0.4925 GB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.4404, allocations: 43.25 kB / 0.4925 GB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.4405, allocations: 41.81 kB / 0.4926 GB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.4412, allocations: 0.4937 MB / 0.4931 GB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.4413, allocations: 0 / 0.4931 GB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.4413, allocations: 22.75 kB / 0.4931 GB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.4413, allocations: 7.75 kB / 0.4931 GB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.4418, allocations: 328.4 kB / 0.4934 GB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002301/0.4442, allocations: 1.479 MB / 0.4948 GB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008328/0.445, allocations: 0.6963 MB / 0.4955 GB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.4453, allocations: 190.8 kB / 0.4957 GB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.975e-05/0.4453, allocations: 3.906 kB / 0.4957 GB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.4454, allocations: 41.53 kB / 0.4957 GB, free: 12.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 3.146e-06/0.4454, allocations: 0 / 0.4957 GB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007052/0.4461, allocations: 423.5 kB / 0.4961 GB, free: 12.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4461, allocations: 132.4 kB / 0.4963 GB, free: 12.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.4465, allocations: 418.8 kB / 0.4967 GB, free: 12.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4466, allocations: 36.36 kB / 0.4967 GB, free: 12.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.4467, allocations: 296.8 kB / 0.497 GB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.048e-05/0.4468, allocations: 161.4 kB / 0.4971 GB, free: 12.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.4468, allocations: 10.75 kB / 0.4972 GB, free: 12.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4469, allocations: 375 kB / 0.4975 GB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4472, allocations: 148.5 kB / 0.4977 GB, free: 11.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.4474, allocations: 207.2 kB / 0.4979 GB, free: 11.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.4476, allocations: 151.8 kB / 0.498 GB, free: 11.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4476, allocations: 0 / 0.498 GB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00059/0.4482, allocations: 452.9 kB / 0.4984 GB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4483, allocations: 3.875 kB / 0.4984 GB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4483, allocations: 3.938 kB / 0.4984 GB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.4483, allocations: 3.875 kB / 0.4984 GB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008433/0.4492, allocations: 179.4 kB / 0.4986 GB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4492, allocations: 7.844 kB / 0.4986 GB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.4496, allocations: 105 kB / 0.4987 GB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.4497, allocations: 11.38 kB / 0.4987 GB, free: 11.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001021/0.4498, allocations: 135.2 kB / 0.4989 GB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.4499, allocations: 62.09 kB / 0.4989 GB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006535/0.4505, allocations: 435.1 kB / 0.4993 GB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4506, allocations: 3.875 kB / 0.4993 GB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4506, allocations: 4 kB / 0.4993 GB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4506, allocations: 7.922 kB / 0.4993 GB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.452, allocations: 1.122 MB / 0.5004 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.452, allocations: 0 / 0.5004 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.4526, allocations: 151.6 kB / 0.5006 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.4526, allocations: 3.984 kB / 0.5006 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.4527, allocations: 11.5 kB / 0.5006 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4527, allocations: 3.969 kB / 0.5006 GB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4527, allocations: 3.953 kB / 0.5006 GB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.4536, allocations: 0.8356 MB / 0.5014 GB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.4538, allocations: 181.5 kB / 0.5016 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.4539, allocations: 15.06 kB / 0.5016 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.4544, allocations: 89.62 kB / 0.5017 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.4545, allocations: 35.31 kB / 0.5017 GB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.4545, allocations: 11.53 kB / 0.5017 GB, free: 10.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003032/0.4548, allocations: 333.8 kB / 0.5021 GB, free: 10.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4548, allocations: 0 / 0.5021 GB, free: 10.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004435/0.4553, allocations: 115.1 kB / 0.5022 GB, free: 10.08 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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 Backend phase and start with SimCode phase: time 0.0001399/0.4554, allocations: 106.6 kB / 0.5023 GB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.456, allocations: 386.1 kB / 0.5026 GB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.456, allocations: 0 / 0.5026 GB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.4563, allocations: 210.4 kB / 0.5028 GB, free: 9.945 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006697/0.457, allocations: 126.5 kB / 0.503 GB, free: 9.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.4591, allocations: 1.021 MB / 0.504 GB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.4594, allocations: 0.9055 MB / 0.5048 GB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003087/0.4597, allocations: 74.59 kB / 0.5049 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4599, allocations: 45.14 kB / 0.505 GB, free: 8.609 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4599, allocations: 3.875 kB / 0.505 GB, free: 8.609 MB / 330.7 MB Notification: Performance of Templates: time 0.00884/0.4687, allocations: 5.627 MB / 0.5105 GB, free: 5.855 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)