Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.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.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001181/0.001181, allocations: 170.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.352/1.352, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001569/0.001569, allocations: 103.5 kB / 223.2 MB, free: 4.113 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.1763/0.1763, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.11e-05, allocations: 4 kB / 357 MB, free: 32.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.08971, allocations: 48.71 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.4295, allocations: 75.66 MB / 481.4 MB, free: 18.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.4297, allocations: 66.06 kB / 481.4 MB, free: 18.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01097/0.4407, allocations: 3.734 MB / 485.2 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4407, allocations: 0 / 485.2 MB, free: 17.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.4408, allocations: 3.969 kB / 485.2 MB, free: 17.88 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005589/0.4413, allocations: 458.5 kB / 485.6 MB, free: 17.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4414, allocations: 7.844 kB / 485.6 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.4415, allocations: 15.72 kB / 485.6 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.4419, allocations: 256.3 kB / 485.9 MB, free: 17.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.442, allocations: 89.33 kB / 486 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.4421, allocations: 13.41 kB / 486 MB, free: 17.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.4423, allocations: 131.5 kB / 486.1 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4424, allocations: 0 / 486.1 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.4424, allocations: 5.25 kB / 486.1 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4424, allocations: 1.375 kB / 486.1 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.4426, allocations: 67.69 kB / 486.2 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.4435, allocations: 494 kB / 486.7 MB, free: 16.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.4436, allocations: 73.33 kB / 486.7 MB, free: 16.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.532e-05/0.4437, allocations: 33.19 kB / 486.8 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.4437, allocations: 3.953 kB / 486.8 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.4437, allocations: 38.38 kB / 486.8 MB, free: 16.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.4437, allocations: 0 / 486.8 MB, free: 16.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002065/0.4439, allocations: 89.67 kB / 486.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.444, allocations: 106.7 kB / 487 MB, free: 16.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4441, allocations: 149 kB / 487.1 MB, free: 16.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.4441, allocations: 29.7 kB / 487.2 MB, free: 16.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.4442, allocations: 109.6 kB / 487.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.4442, allocations: 22.28 kB / 487.3 MB, free: 16.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-06/0.4442, allocations: 0 / 487.3 MB, free: 16.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.937e-05/0.4443, allocations: 325.2 kB / 487.6 MB, free: 16.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.4443, allocations: 30.22 kB / 487.6 MB, free: 16.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.4444, allocations: 47.61 kB / 487.7 MB, free: 16.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.07e-05/0.4444, allocations: 32.27 kB / 487.7 MB, free: 16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4444, allocations: 7.016 kB / 487.7 MB, free: 16 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001559/0.4446, allocations: 99.95 kB / 487.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4446, allocations: 7.828 kB / 487.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4446, allocations: 0 / 487.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4447, allocations: 0 / 487.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.4448, allocations: 48.41 kB / 487.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4449, allocations: 0 / 487.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.314e-05/0.445, allocations: 27.17 kB / 487.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.445, allocations: 0 / 487.9 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.306e-05/0.445, allocations: 112.3 kB / 488 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.4451, allocations: 11.69 kB / 488 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.4451, allocations: 15.03 kB / 488 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4451, allocations: 7.875 kB / 488.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4451, allocations: 0 / 488.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4451, allocations: 3.938 kB / 488.1 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.4453, allocations: 229.5 kB / 488.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4454, allocations: 0 / 488.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.4456, allocations: 54.5 kB / 488.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4456, allocations: 4 kB / 488.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.4456, allocations: 5.578 kB / 488.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4456, allocations: 3.953 kB / 488.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4456, allocations: 0 / 488.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.4459, allocations: 216.9 kB / 488.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.59e-05/0.4459, allocations: 100.2 kB / 488.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.446, allocations: 0 / 488.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.4462, allocations: 54.88 kB / 488.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.4463, allocations: 3.953 kB / 488.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.4463, allocations: 10.12 kB / 488.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.214e-05/0.4464, allocations: 121.9 kB / 488.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4464, allocations: 0 / 488.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002255/0.4466, allocations: 26.91 kB / 488.9 MB, free: 15.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000107/0.4467, allocations: 100.6 kB / 489 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.4468, allocations: 58.78 kB / 489 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4468, allocations: 0 / 489 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.4469, allocations: 28.77 kB / 489.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.4471, allocations: 17.45 kB / 489.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.4474, allocations: 143 kB / 489.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4475, allocations: 0.7107 MB / 489.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.4476, allocations: 18.11 kB / 489.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.4477, allocations: 20.7 kB / 490 MB, free: 14.38 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4477, allocations: 0 / 490 MB, free: 14.38 MB / 330.7 MB Notification: Performance of Templates: time 0.003258/0.4509, allocations: 1.527 MB / 491.5 MB, free: 14.26 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Limiters.pipe 2>&1)