Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 77.22 kB / 20.67 MB, free: 3.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002865/0.002865, allocations: 165 kB / 24.07 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.688/1.688, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.009395/0.009395, allocations: 1.198 MB / 262.2 MB, free: 11.74 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") translateModel(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.714e-05, allocations: 4.844 kB / 332.4 MB, free: 18 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Rotational.SMPMBrakingRectifier): time 0.00604/0.006058, allocations: 6.348 MB / 338.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.008778, allocations: 2.091 MB / 340.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.009121, allocations: 43.69 kB / 340.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.009789, allocations: 389.2 kB / 341.2 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008281/0.01062, allocations: 0.5433 MB / 341.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.01093, allocations: 255.5 kB / 342 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.01234, allocations: 2.258 MB / 344.3 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004934/0.01283, allocations: 411 kB / 344.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.01383, allocations: 1.142 MB / 345.8 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006501/0.01448, allocations: 0.756 MB / 346.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.01461, allocations: 128 kB / 346.7 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.01494, allocations: 227.7 kB / 346.9 MB, free: 3.348 MB / 266.7 MB Notification: Performance of combineBinaries: time 0.001217/0.01616, allocations: 2.16 MB / 349.1 MB, free: 1.176 MB / 266.7 MB Notification: Performance of replaceArrayConstructors: time 0.0006308/0.01679, allocations: 1.276 MB / 350.4 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.01696, allocations: 92 kB / 350.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.0001348/0.01709, allocations: 39.92 kB / 350.5 MB, free: 15.76 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 (218) * Number of variables: 369 (204) Notification: Performance of [SIM] Bindings: time 0.007915/0.025, allocations: 6.351 MB / 356.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.001099/0.0261, allocations: 0.8256 MB / 357.7 MB, free: 8.363 MB / 282.7 MB Notification: Performance of [SIM] Early Inline: time 0.005912/0.03202, allocations: 4.773 MB / 362.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of [SIM] Simplify 1: time 0.0007709/0.03279, allocations: 419.9 kB / 362.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of [SIM] Alias: time 0.007795/0.04058, allocations: 4.756 MB / 367.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of [SIM] Simplify 2: time 0.0005727/0.04116, allocations: 328 kB / 367.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0003668/0.04152, allocations: 272 kB / 368.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of [SIM] Detect States: time 0.001171/0.04269, allocations: 0.8598 MB / 369.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of [SIM] Events: time 0.000449/0.04314, allocations: 327.7 kB / 369.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of [SIM] Partitioning: time 0.001702/0.04484, allocations: 1.147 MB / 370.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of [SIM] Causalize: time 0.006416/0.05126, allocations: 3.697 MB / 374.2 MB, free: 7.035 MB / 298.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003056/0.05432, allocations: 2.579 MB / 376.8 MB, free: 4.453 MB / 298.7 MB Notification: Performance of [INI] Simplify: time 0.003399/0.05771, allocations: 1.877 MB / 378.7 MB, free: 2.539 MB / 298.7 MB Notification: Performance of [INI] Inline: time 0.005972/0.06369, allocations: 4.89 MB / 383.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of [INI] Partitioning: time 0.00012/0.06381, allocations: 52.03 kB / 383.6 MB, free: 13.57 MB / 314.7 MB Notification: Performance of [INI] Cleanup: time 0.0007343/0.06454, allocations: 0.64 MB / 384.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of [INI] Causalize: time 0.004117/0.06866, allocations: 2.413 MB / 386.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of [INI] Tearing: time 0.002828/0.07149, allocations: 1.708 MB / 388.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of [SIM] Initialization: time 1.022e-06/0.07149, allocations: 0 / 388.4 MB, free: 8.738 MB / 314.7 MB Notification: Performance of [SIM] Remove Dummies: time 1.554e-05/0.0715, allocations: 5 kB / 388.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of [SIM] Tearing: time 0.002789/0.07429, allocations: 1.696 MB / 390.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of [SIM] Categorize: time 1.177e-05/0.0743, allocations: 4 kB / 390.1 MB, free: 7.039 MB / 314.7 MB Notification: Performance of [SIM] Solve: time 0.002489/0.07679, allocations: 1.424 MB / 391.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of [SIM] Jacobian: time 0.008514/0.08531, allocations: 5.206 MB / 396.7 MB, free: 176 kB / 314.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 1.543e-06/0.08531, allocations: 0 / 396.7 MB, free: 176 kB / 314.7 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 7 (6) {integrator.y, brakingResistor.T_heatPort, inertiaLoad.phi, smpm.inertiaRotor.w, smpm.clarkeParkConverter.idq, smpm.i0} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 15 (7) {switch.off, rectifier.diode_p.idealDiode.off, rectifier.diode_n.idealDiode.off, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 67 (scalar:59, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 21 (resizable: 21, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 1, nonlinear:3) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 74 (scalar:66, array:8, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 21 (resizable: 21, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 4 (linear: 1, nonlinear:3) Notification: Performance of backend: time 8.197e-05/0.08539, allocations: 60.55 kB / 396.8 MB, free: 120 kB / 314.7 MB Notification: Performance of SimCode: time 0.01372/0.09911, allocations: 8.89 MB / 405.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of Templates: time 0.1685/0.2677, allocations: 21.74 MB / 427.4 MB, free: 60.69 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.sim & ./ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Rotational.SMPMBrakingRectifier.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.489487880375236]