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.001663/0.001663, allocations: 166.6 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.492/1.492, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001518/0.001518, allocations: 111.4 kB / 218 MB, free: 8.344 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.1682/0.1682, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.435e-05/1.437e-05, allocations: 2.281 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09484, allocations: 48.72 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.4705, allocations: 77.83 MB / 476.5 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4708, allocations: 64.22 kB / 476.6 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0513/0.5222, allocations: 18.21 MB / 494.8 MB, free: 32.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5222, allocations: 0 / 494.8 MB, free: 32.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.5223, allocations: 18.55 kB / 494.8 MB, free: 32.39 MB / 346.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.001966/0.5243, allocations: 1.027 MB / 495.9 MB, free: 31.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5243, allocations: 7.844 kB / 495.9 MB, free: 31.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.5245, allocations: 97.3 kB / 496 MB, free: 31.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.5259, allocations: 0.6019 MB / 496.6 MB, free: 31.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.526, allocations: 18.81 kB / 496.6 MB, free: 31.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.711e-05/0.526, allocations: 23.44 kB / 496.6 MB, free: 31.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005193/0.5266, allocations: 302.9 kB / 496.9 MB, free: 31.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.5272, allocations: 448.1 kB / 497.3 MB, free: 31.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5273, allocations: 0 / 497.3 MB, free: 31.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.544e-05/0.5273, allocations: 3.812 kB / 497.4 MB, free: 31.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.5274, allocations: 11.64 kB / 497.4 MB, free: 31.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.5297, allocations: 1.404 MB / 498.8 MB, free: 30.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.5305, allocations: 0.6649 MB / 499.4 MB, free: 30.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.5308, allocations: 177.2 kB / 499.6 MB, free: 30.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.218e-05/0.5308, allocations: 19.14 kB / 499.6 MB, free: 30.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.5309, allocations: 33.94 kB / 499.7 MB, free: 30.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 1.823e-06/0.5309, allocations: 0 / 499.7 MB, free: 30.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006744/0.5315, allocations: 393.8 kB / 0.4883 GB, free: 30.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.5316, allocations: 132.3 kB / 0.4884 GB, free: 30.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.532, allocations: 388.1 kB / 0.4888 GB, free: 30.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.532, allocations: 29.58 kB / 0.4888 GB, free: 30.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.5322, allocations: 298.7 kB / 0.4891 GB, free: 29.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.5323, allocations: 158.9 kB / 0.4893 GB, free: 29.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.5323, allocations: 3.938 kB / 0.4893 GB, free: 29.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5324, allocations: 371.2 kB / 0.4896 GB, free: 29.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.5326, allocations: 140.5 kB / 0.4898 GB, free: 29.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.5329, allocations: 179.7 kB / 0.4899 GB, free: 29.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.5331, allocations: 147.8 kB / 0.4901 GB, free: 29.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5331, allocations: 7.906 kB / 0.4901 GB, free: 29.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006395/0.5338, allocations: 422 kB / 0.4905 GB, free: 29.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.5338, allocations: 7.75 kB / 0.4905 GB, free: 29.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5338, allocations: 0 / 0.4905 GB, free: 29.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5338, allocations: 0 / 0.4905 GB, free: 29.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008589/0.5347, allocations: 182.6 kB / 0.4907 GB, free: 29.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5347, allocations: 3.875 kB / 0.4907 GB, free: 29.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.5352, allocations: 92.53 kB / 0.4908 GB, free: 29.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.5352, allocations: 15.45 kB / 0.4908 GB, free: 29.16 MB / 346.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.0001058/0.5353, allocations: 116.8 kB / 0.4909 GB, free: 29.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.5354, allocations: 69.16 kB / 0.491 GB, free: 29.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006174/0.5361, allocations: 404.9 kB / 0.4913 GB, free: 28.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5361, allocations: 7.656 kB / 0.4914 GB, free: 28.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5361, allocations: 0 / 0.4914 GB, free: 28.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5361, allocations: 3.984 kB / 0.4914 GB, free: 28.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.5374, allocations: 1.027 MB / 0.4924 GB, free: 28.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5374, allocations: 0 / 0.4924 GB, free: 28.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/0.5381, allocations: 152 kB / 0.4925 GB, free: 28.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5381, allocations: 3.812 kB / 0.4925 GB, free: 28.37 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.5381, allocations: 3.875 kB / 0.4925 GB, free: 28.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5381, allocations: 0 / 0.4925 GB, free: 28.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5382, allocations: 7.641 kB / 0.4925 GB, free: 28.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.539, allocations: 0.8031 MB / 0.4933 GB, free: 28.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.5392, allocations: 186.2 kB / 0.4935 GB, free: 27.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.5393, allocations: 3.75 kB / 0.4935 GB, free: 27.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.5398, allocations: 78.42 kB / 0.4936 GB, free: 27.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-05/0.5399, allocations: 34.97 kB / 0.4936 GB, free: 27.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.5399, allocations: 19.33 kB / 0.4936 GB, free: 27.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002687/0.5402, allocations: 304 kB / 0.4939 GB, free: 27.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5402, allocations: 0 / 0.4939 GB, free: 27.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004209/0.5406, allocations: 101.1 kB / 0.494 GB, free: 27.72 MB / 346.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.000138/0.5408, allocations: 106.1 kB / 0.4941 GB, free: 27.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.5413, allocations: 354 kB / 0.4944 GB, free: 27.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.5413, allocations: 0 / 0.4944 GB, free: 27.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.5416, allocations: 200.6 kB / 0.4946 GB, free: 27.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.5423, allocations: 116.5 kB / 0.4947 GB, free: 27.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.5445, allocations: 1.014 MB / 0.4957 GB, free: 27.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.5449, allocations: 0.8995 MB / 0.4966 GB, free: 26.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.5452, allocations: 75.91 kB / 0.4967 GB, free: 26.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.5454, allocations: 43.48 kB / 0.4967 GB, free: 26.24 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5454, allocations: 0 / 0.4967 GB, free: 26.24 MB / 346.7 MB Notification: Performance of Templates: time 0.00914/0.5545, allocations: 5.251 MB / 0.5019 GB, free: 23.67 MB / 346.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)