Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.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.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") translateModel(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006457/0.006457, allocations: 173.6 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.406/1.406, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.001677/0.001677, allocations: 128.5 kB / 255.6 MB, free: 10.22 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.1851/0.1851, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003554, allocations: 14.16 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 54.86 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.229, allocations: 81.4 MB / 0.5297 GB, free: 1.789 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.2294, allocations: 71.95 kB / 0.5298 GB, free: 1.719 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2378/0.4672, allocations: 2.325 MB / 0.532 GB, free: 82.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4672, allocations: 3.844 kB / 0.532 GB, free: 82.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4673, allocations: 3.625 kB / 0.532 GB, free: 82.64 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005155/0.4678, allocations: 424.2 kB / 0.5325 GB, free: 82.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4678, allocations: 7.469 kB / 0.5325 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.4679, allocations: 15.88 kB / 0.5325 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.468, allocations: 206.4 kB / 0.5327 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4681, allocations: 8.812 kB / 0.5327 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.4681, allocations: 12.56 kB / 0.5327 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4683, allocations: 124.3 kB / 0.5328 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4684, allocations: 3.25 kB / 0.5328 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4684, allocations: 4.312 kB / 0.5328 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4684, allocations: 9.828 kB / 0.5328 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.4686, allocations: 84.16 kB / 0.5329 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.4692, allocations: 474.4 kB / 0.5334 GB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.4694, allocations: 115.4 kB / 0.5335 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.4694, allocations: 0 / 0.5335 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.4694, allocations: 38.67 kB / 0.5335 GB, free: 81.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 9.52e-07/0.4695, allocations: 0 / 0.5335 GB, free: 81.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001596/0.4711, allocations: 0.8166 MB / 0.5343 GB, free: 81.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.4711, allocations: 59.73 kB / 0.5344 GB, free: 81.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4712, allocations: 123.8 kB / 0.5345 GB, free: 81.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4712, allocations: 30.2 kB / 0.5345 GB, free: 80.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.4713, allocations: 110.2 kB / 0.5346 GB, free: 80.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.4714, allocations: 66.5 kB / 0.5347 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.4714, allocations: 7.516 kB / 0.5347 GB, free: 80.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.4715, allocations: 334.2 kB / 0.535 GB, free: 80.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4716, allocations: 48.23 kB / 0.535 GB, free: 80.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.4717, allocations: 78.92 kB / 0.5351 GB, free: 80.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.4718, allocations: 53.64 kB / 0.5352 GB, free: 80.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4718, allocations: 0 / 0.5352 GB, free: 80.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003691/0.4722, allocations: 212.6 kB / 0.5354 GB, free: 80.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.4722, allocations: 9.859 kB / 0.5354 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4722, allocations: 0.7031 kB / 0.5354 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.4724, allocations: 41.12 kB / 0.5354 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.4726, allocations: 36.53 kB / 0.5355 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.4736, allocations: 1.567 MB / 0.537 GB, free: 79.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.927e-05/0.4737, allocations: 9.031 kB / 0.537 GB, free: 79.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.4738, allocations: 8 kB / 0.537 GB, free: 79.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/0.4739, allocations: 134.9 kB / 0.5371 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.4739, allocations: 15.03 kB / 0.5372 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.4739, allocations: 17.12 kB / 0.5372 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4739, allocations: 3 kB / 0.5372 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.474, allocations: 8.453 kB / 0.5372 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.474, allocations: 0.8438 kB / 0.5372 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.4746, allocations: 0.5598 MB / 0.5377 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4747, allocations: 1.188 kB / 0.5377 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.4748, allocations: 48.61 kB / 0.5378 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.699e-05/0.4749, allocations: 29.56 kB / 0.5378 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.475, allocations: 6 kB / 0.5378 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007567/0.4757, allocations: 1.374 MB / 0.5392 GB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4757, allocations: 0.875 kB / 0.5392 GB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.4762, allocations: 371.7 kB / 0.5395 GB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.4762, allocations: 86.78 kB / 0.5396 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.4762, allocations: 2.094 kB / 0.5396 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.4764, allocations: 10.59 kB / 0.5396 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.4764, allocations: 13.31 kB / 0.5396 GB, free: 77.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4764, allocations: 3.219 kB / 0.5396 GB, free: 77.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.179e-05/0.4765, allocations: 114.7 kB / 0.5397 GB, free: 76.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4765, allocations: 0 / 0.5397 GB, free: 76.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.4769, allocations: 48.38 kB / 0.5398 GB, free: 76.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * 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 (16): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.4771, allocations: 108.8 kB / 0.5399 GB, free: 76.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.4776, allocations: 258.3 kB / 0.5401 GB, free: 76.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4776, allocations: 5.375 kB / 0.5401 GB, free: 76.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.4779, allocations: 197.2 kB / 0.5403 GB, free: 76.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.4783, allocations: 19.34 kB / 0.5403 GB, free: 76.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/0.4792, allocations: 0.5089 MB / 0.5408 GB, free: 76.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.4795, allocations: 0.7297 MB / 0.5415 GB, free: 75.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.015e-05/0.4795, allocations: 10.98 kB / 0.5416 GB, free: 75.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.4796, allocations: 15 kB / 0.5416 GB, free: 75.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4796, allocations: 0 / 0.5416 GB, free: 75.57 MB / 378.7 MB Notification: Performance of Templates: time 0.004699/0.4843, allocations: 1.45 MB / 0.543 GB, free: 75.46 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain.pipe 2>&1)