Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") translateModel(ModelicaTest.Rotational.TestBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002588/0.002588, allocations: 188 kB / 7.459 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.329/1.329, allocations: 194.2 MB / 202.1 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00192/0.00192, allocations: 124 kB / 247.1 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1815/0.1815, allocations: 39.95 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.563e-06/6.583e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3112/0.4287, allocations: 81.75 MB / 0.517 GB, free: 9.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.429, allocations: 66.45 kB / 0.517 GB, free: 9.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01099/0.44, allocations: 3.792 MB / 0.5207 GB, free: 9.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.4401, allocations: 4.875 kB / 0.5207 GB, free: 9.223 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0004996/0.4406, allocations: 466.6 kB / 0.5212 GB, free: 8.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4406, allocations: 9.281 kB / 0.5212 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.4407, allocations: 27.75 kB / 0.5212 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4409, allocations: 228.1 kB / 0.5214 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4409, allocations: 7.125 kB / 0.5214 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.441, allocations: 16.94 kB / 0.5215 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002122/0.4412, allocations: 106.1 kB / 0.5216 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.4415, allocations: 181.1 kB / 0.5217 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.4415, allocations: 5.219 kB / 0.5217 GB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.4415, allocations: 5.25 kB / 0.5217 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.4415, allocations: 5.188 kB / 0.5218 GB, free: 8.441 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.4427, allocations: 0.9812 MB / 0.5227 GB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.4429, allocations: 152.2 kB / 0.5229 GB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.4429, allocations: 42.16 kB / 0.5229 GB, free: 7.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.443, allocations: 10.09 kB / 0.5229 GB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.443, allocations: 52.06 kB / 0.523 GB, free: 7.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.443, allocations: 0 / 0.523 GB, free: 7.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002988/0.4433, allocations: 106.7 kB / 0.5231 GB, free: 7.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.4433, allocations: 131.1 kB / 0.5232 GB, free: 7.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.4434, allocations: 142.6 kB / 0.5233 GB, free: 7.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.4435, allocations: 29.73 kB / 0.5233 GB, free: 7.086 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.4435, allocations: 152.5 kB / 0.5235 GB, free: 6.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.4436, allocations: 58.08 kB / 0.5235 GB, free: 6.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.4436, allocations: 0 / 0.5235 GB, free: 6.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.4436, allocations: 330 kB / 0.5239 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.439e-05/0.4437, allocations: 35.06 kB / 0.5239 GB, free: 6.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.914e-05/0.4438, allocations: 146.5 kB / 0.524 GB, free: 6.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.435e-05/0.4439, allocations: 61.44 kB / 0.5241 GB, free: 6.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4439, allocations: 1.312 kB / 0.5241 GB, free: 6.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002787/0.4442, allocations: 198.2 kB / 0.5243 GB, free: 6.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4442, allocations: 5.5 kB / 0.5243 GB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4442, allocations: 8.328 kB / 0.5243 GB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4443, allocations: 5.312 kB / 0.5243 GB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.4445, allocations: 64.19 kB / 0.5244 GB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/0.4445, allocations: 12.73 kB / 0.5244 GB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.4446, allocations: 19.66 kB / 0.5244 GB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.4446, allocations: 14.91 kB / 0.5244 GB, free: 6.312 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.823e-05/0.4447, allocations: 115.4 kB / 0.5245 GB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.4448, allocations: 15.97 kB / 0.5245 GB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.4449, allocations: 73.64 kB / 0.5246 GB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.445, allocations: 3.094 kB / 0.5246 GB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.445, allocations: 1.219 kB / 0.5246 GB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.445, allocations: 1.094 kB / 0.5246 GB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.4453, allocations: 222.1 kB / 0.5248 GB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4453, allocations: 1.438 kB / 0.5248 GB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.4456, allocations: 46.81 kB / 0.5249 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4456, allocations: 1.375 kB / 0.5249 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4456, allocations: 3 kB / 0.5249 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4456, allocations: 1.188 kB / 0.5249 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4456, allocations: 5.094 kB / 0.5249 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002877/0.4459, allocations: 0.5051 MB / 0.5254 GB, free: 5.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.446, allocations: 97.81 kB / 0.5255 GB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.446, allocations: 2.906 kB / 0.5255 GB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.4462, allocations: 0.875 kB / 0.5255 GB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.4462, allocations: 12.86 kB / 0.5255 GB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4462, allocations: 7.844 kB / 0.5255 GB, free: 5.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.401e-05/0.4463, allocations: 122.4 kB / 0.5256 GB, free: 5.297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.4467, allocations: 58.2 kB / 0.5257 GB, free: 5.281 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.w,linearSpeedDependentTorque.phi,inertia2.w,quadraticSpeedDependentTorque.phi,inertia3.w,constantTorque.phi,inertia4.w,signTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001103/0.4468, allocations: 102.8 kB / 0.5258 GB, free: 5.188 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.447, allocations: 114.8 kB / 0.5259 GB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.447, allocations: 0 / 0.5259 GB, free: 5.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.708e-05/0.4471, allocations: 45.97 kB / 0.5259 GB, free: 5.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.4476, allocations: 33.16 kB / 0.5259 GB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009894/0.4486, allocations: 0.7068 MB / 0.5266 GB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.4488, allocations: 0.7628 MB / 0.5274 GB, free: 3.844 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4488, allocations: 4 kB / 0.5274 GB, free: 3.84 MB / 346.7 MB Notification: Performance of Templates: time 0.004194/0.453, allocations: 1.699 MB / 0.529 GB, free: 3.027 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBraking.pipe 2>&1)