Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 115.8 kB / 17.75 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 189.9 kB / 18.69 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.589e-05, allocations: 3.125 kB / 328.5 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.002929/0.002953, allocations: 2.221 MB / 330.7 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.004455, allocations: 0.9673 MB / 331.7 MB, free: 144 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.004603, allocations: 4 kB / 331.7 MB, free: 140 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.00494, allocations: 91.5 kB / 331.8 MB, free: 48 kB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.00529, allocations: 115.2 kB / 331.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.005618, allocations: 119.7 kB / 332 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.005953, allocations: 310.8 kB / 332.3 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.006156, allocations: 100.6 kB / 332.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.00632, allocations: 111.6 kB / 332.5 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.006484, allocations: 115.5 kB / 332.6 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.006525, allocations: 16 kB / 332.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.006658, allocations: 55.97 kB / 332.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002514/0.006916, allocations: 352.1 kB / 333 MB, free: 14.77 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001283/0.007051, allocations: 216.8 kB / 333.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.344e-05/0.00713, allocations: 39.88 kB / 333.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.965e-05/0.007164, allocations: 8 kB / 333.3 MB, free: 14.51 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 (40) * Number of variables: 41 (40) Notification: Performance of Bindings: time 0.0009473/0.008116, allocations: 1.022 MB / 334.3 MB, free: 13.38 MB / 286.1 MB Notification: Performance of FunctionAlias: time 5.074e-05/0.008174, allocations: 39.86 kB / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004704/0.00865, allocations: 0.4995 MB / 334.8 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simplify1: time 4.011e-05/0.008698, allocations: 43.83 kB / 334.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of Alias: time 0.0009588/0.009662, allocations: 0.8154 MB / 335.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of simplify2: time 2.712e-05/0.009699, allocations: 19.97 kB / 335.7 MB, free: 11.83 MB / 286.1 MB Notification: Performance of Events: time 7.998e-05/0.009785, allocations: 27.94 kB / 335.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001769/0.00997, allocations: 128.1 kB / 335.9 MB, free: 11.66 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001488/0.01013, allocations: 116.1 kB / 336 MB, free: 11.54 MB / 286.1 MB Notification: Performance of Causalize: time 0.0006084/0.01074, allocations: 0.5901 MB / 336.6 MB, free: 10.95 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002491/0.011, allocations: 292 kB / 336.9 MB, free: 10.63 MB / 286.1 MB Notification: Performance of Inline: time 0.0006547/0.01166, allocations: 0.6399 MB / 337.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of Partitioning: time 4.425e-05/0.01172, allocations: 42.36 kB / 337.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of Cleanup: time 3.351e-05/0.01176, allocations: 23.97 kB / 337.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009872/0.01275, allocations: 1.014 MB / 338.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of Tearing: time 5.691e-06/0.01276, allocations: 3.938 kB / 338.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of Initialization: time 5.31e-07/0.01277, allocations: 64 / 338.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of Tearing: time 1.904e-06/0.01278, allocations: 4 kB / 338.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of Categorize: time 6.091e-06/0.01279, allocations: 0 / 338.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of Solve: time 0.0001702/0.01297, allocations: 109.6 kB / 338.7 MB, free: 8.758 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0002994/0.01327, allocations: 346 kB / 339 MB, free: 8.379 MB / 286.1 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: ............................. 2 (2) {winding.T, core.T} * Number of discrete states: .................... 2 (2) {lossTable.nextTimeEvent, lossTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:30, array:0, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.77e-05/0.01332, allocations: 39.89 kB / 339.1 MB, free: 8.344 MB / 286.1 MB Notification: Performance of SimCode: time 0.001931/0.01526, allocations: 1.739 MB / 340.8 MB, free: 6.582 MB / 286.1 MB Notification: Performance of Templates: time 0.00432/0.01959, allocations: 1.826 MB / 342.6 MB, free: 4.754 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)