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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007028/0.007028, allocations: 175.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.638/1.638, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001926/0.001926, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1926/0.1926, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004092, allocations: 10.78 kB / 406.1 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1108, allocations: 54.88 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.2277, allocations: 82.57 MB / 0.5309 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.2281, allocations: 67.95 kB / 0.5309 GB, free: 0.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2568/0.4849, allocations: 4.152 MB / 0.535 GB, free: 83.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4849, allocations: 0 / 0.535 GB, free: 83.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.568e-05/0.485, allocations: 5.188 kB / 0.535 GB, free: 83.26 MB / 378.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.0008876/0.4859, allocations: 471.2 kB / 0.5354 GB, free: 82.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.4859, allocations: 8.656 kB / 0.5354 GB, free: 82.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.486, allocations: 31.98 kB / 0.5355 GB, free: 82.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.4864, allocations: 224.2 kB / 0.5357 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.4864, allocations: 20.03 kB / 0.5357 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.4865, allocations: 28.92 kB / 0.5357 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.4871, allocations: 215.3 kB / 0.5359 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.4871, allocations: 6.719 kB / 0.5359 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.4872, allocations: 10.39 kB / 0.536 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4872, allocations: 9.688 kB / 0.536 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.4875, allocations: 127.2 kB / 0.5361 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.4894, allocations: 1.022 MB / 0.5371 GB, free: 81.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.4897, allocations: 164.1 kB / 0.5372 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.4898, allocations: 2.219 kB / 0.5372 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.4898, allocations: 37.77 kB / 0.5373 GB, free: 81.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.4898, allocations: 3.938 kB / 0.5373 GB, free: 81.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004219/0.4902, allocations: 145.7 kB / 0.5374 GB, free: 81.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.4903, allocations: 140.3 kB / 0.5376 GB, free: 81.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.4905, allocations: 162 kB / 0.5377 GB, free: 81.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.4905, allocations: 30.52 kB / 0.5377 GB, free: 81.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4906, allocations: 159.5 kB / 0.5379 GB, free: 81.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.4907, allocations: 57.19 kB / 0.5379 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.4907, allocations: 5.375 kB / 0.5379 GB, free: 81.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4908, allocations: 334.7 kB / 0.5383 GB, free: 80.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.4909, allocations: 40.39 kB / 0.5383 GB, free: 80.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.4911, allocations: 151.1 kB / 0.5384 GB, free: 80.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.4912, allocations: 63.78 kB / 0.5385 GB, free: 80.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4912, allocations: 5.094 kB / 0.5385 GB, free: 80.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003985/0.4916, allocations: 232.9 kB / 0.5387 GB, free: 80.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4916, allocations: 7.578 kB / 0.5387 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4917, allocations: 4.656 kB / 0.5387 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.4917, allocations: 10.06 kB / 0.5388 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.4919, allocations: 62.42 kB / 0.5388 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.492, allocations: 13.83 kB / 0.5388 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.4921, allocations: 20.06 kB / 0.5388 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.4921, allocations: 13.83 kB / 0.5389 GB, free: 80.59 MB / 378.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 () * Number of clocked 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 0.0001312/0.4923, allocations: 142.3 kB / 0.539 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.48e-05/0.4923, allocations: 18 kB / 0.539 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.4925, allocations: 78.72 kB / 0.5391 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4925, allocations: 6.844 kB / 0.5391 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.4926, allocations: 5.859 kB / 0.5391 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4926, allocations: 2.297 kB / 0.5391 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000535/0.4931, allocations: 261.1 kB / 0.5394 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4931, allocations: 1.219 kB / 0.5394 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.4934, allocations: 46.39 kB / 0.5394 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4934, allocations: 1.25 kB / 0.5394 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.4934, allocations: 6.453 kB / 0.5394 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.4934, allocations: 1.438 kB / 0.5394 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4934, allocations: 1.375 kB / 0.5394 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.494, allocations: 0.5165 MB / 0.5399 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.523e-05/0.494, allocations: 96.95 kB / 0.54 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.4941, allocations: 5.016 kB / 0.54 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.4942, allocations: 9.156 kB / 0.54 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.4943, allocations: 15.12 kB / 0.54 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4943, allocations: 5.75 kB / 0.54 GB, free: 79.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.4944, allocations: 128.5 kB / 0.5402 GB, free: 79.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4944, allocations: 0 / 0.5402 GB, free: 79.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004533/0.4949, allocations: 62.09 kB / 0.5402 GB, free: 79.57 MB / 378.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 () * Number of clocked 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.0001278/0.495, allocations: 108.5 kB / 0.5403 GB, free: 79.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.4953, allocations: 127 kB / 0.5404 GB, free: 79.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4953, allocations: 0 / 0.5404 GB, free: 79.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.4954, allocations: 46.39 kB / 0.5405 GB, free: 79.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.4959, allocations: 36.83 kB / 0.5405 GB, free: 79.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.4975, allocations: 0.9839 MB / 0.5415 GB, free: 78.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4979, allocations: 0.7518 MB / 0.5422 GB, free: 78.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.4981, allocations: 29.78 kB / 0.5422 GB, free: 78.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.4981, allocations: 19.3 kB / 0.5423 GB, free: 78.02 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4981, allocations: 4 kB / 0.5423 GB, free: 78.02 MB / 378.7 MB Notification: Performance of Templates: time 0.007556/0.5057, allocations: 1.59 MB / 0.5438 GB, free: 77.89 MB / 378.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)