Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0009625/0.0009625, allocations: 106.7 kB / 16.42 MB, free: 6.035 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.0009134/0.0009134, allocations: 186.4 kB / 17.36 MB, free: 5.621 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.203/1.203, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.199e-05, allocations: 2.281 kB / 327.2 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003077/0.003106, allocations: 2.222 MB / 329.4 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.004611, allocations: 0.9712 MB / 330.4 MB, free: 160 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.721e-05/0.00472, allocations: 4 kB / 330.4 MB, free: 156 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.005072, allocations: 91.5 kB / 330.4 MB, free: 64 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.0002797/0.005367, allocations: 115.3 kB / 330.6 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.005666, allocations: 123.6 kB / 330.7 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.005976, allocations: 310.8 kB / 331 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.006167, allocations: 92.56 kB / 331.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.006303, allocations: 111.6 kB / 331.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.006458, allocations: 107.5 kB / 331.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.006496, allocations: 20 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.006612, allocations: 55.92 kB / 331.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002533/0.006872, allocations: 344.2 kB / 331.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001223/0.007001, allocations: 220.8 kB / 331.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.007063, allocations: 43.88 kB / 332 MB, free: 14.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.961e-05/0.007088, allocations: 7.938 kB / 332 MB, free: 14.54 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.0009902/0.008085, allocations: 1.034 MB / 333 MB, free: 13.39 MB / 286.1 MB Notification: Performance of FunctionAlias: time 4.112e-05/0.008132, allocations: 31.92 kB / 333 MB, free: 13.36 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004595/0.008597, allocations: 0.5033 MB / 333.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simplify1: time 3.793e-05/0.008644, allocations: 39.94 kB / 333.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of Alias: time 0.0009181/0.009568, allocations: 0.8036 MB / 334.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simplify2: time 2.22e-05/0.009602, allocations: 23.98 kB / 334.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Events: time 8.311e-05/0.00969, allocations: 40.28 kB / 334.4 MB, free: 11.82 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001784/0.009876, allocations: 120.1 kB / 334.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001348/0.01002, allocations: 132 kB / 334.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of Causalize: time 0.0006264/0.01065, allocations: 0.5938 MB / 335.3 MB, free: 10.95 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002424/0.01091, allocations: 276.1 kB / 335.5 MB, free: 10.65 MB / 286.1 MB Notification: Performance of Inline: time 0.0006199/0.01153, allocations: 0.6445 MB / 336.2 MB, free: 9.977 MB / 286.1 MB Notification: Performance of Partitioning: time 4.228e-05/0.01159, allocations: 34.36 kB / 336.2 MB, free: 9.934 MB / 286.1 MB Notification: Performance of Cleanup: time 2.616e-05/0.01162, allocations: 27.95 kB / 336.2 MB, free: 9.906 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009373/0.01256, allocations: 1.021 MB / 337.3 MB, free: 8.887 MB / 286.1 MB Notification: Performance of Tearing: time 6.232e-06/0.01258, allocations: 0 / 337.3 MB, free: 8.887 MB / 286.1 MB Notification: Performance of Initialization: time 3.1e-07/0.01258, allocations: 0 / 337.3 MB, free: 8.887 MB / 286.1 MB Notification: Performance of Tearing: time 1.022e-06/0.01259, allocations: 4.062 kB / 337.3 MB, free: 8.883 MB / 286.1 MB Notification: Performance of Categorize: time 1.405e-05/0.01261, allocations: 0 / 337.3 MB, free: 8.883 MB / 286.1 MB Notification: Performance of Solve: time 0.0001715/0.01278, allocations: 105.6 kB / 337.4 MB, free: 8.777 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003017/0.01309, allocations: 346 kB / 337.7 MB, free: 8.398 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.931e-05/0.01314, allocations: 39.81 kB / 337.8 MB, free: 8.363 MB / 286.1 MB Notification: Performance of SimCode: time 0.00188/0.01503, allocations: 1.735 MB / 339.5 MB, free: 6.605 MB / 286.1 MB Notification: Performance of Templates: time 0.004243/0.01928, allocations: 1.834 MB / 341.3 MB, free: 4.77 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)