Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.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.001277/0.001278, allocations: 106.6 kB / 16.42 MB, free: 6.516 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.001361/0.001361, allocations: 186 kB / 17.35 MB, free: 5.73 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/1.893e-05, allocations: 2.281 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003079/0.003106, allocations: 2.222 MB / 329.4 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.004563, allocations: 0.9634 MB / 330.3 MB, free: 148 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.004675, allocations: 4 kB / 330.4 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.004994, allocations: 91.5 kB / 330.4 MB, free: 52 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.0003725/0.005391, allocations: 123.3 kB / 330.6 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.005701, allocations: 119.7 kB / 330.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.006044, allocations: 310.8 kB / 331 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.006237, allocations: 88.58 kB / 331.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.006396, allocations: 111.6 kB / 331.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.006547, allocations: 115.5 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.006587, allocations: 16 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.00671, allocations: 55.92 kB / 331.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002685/0.006985, allocations: 344.2 kB / 331.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001382/0.00713, allocations: 224.7 kB / 331.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.007185, allocations: 43.88 kB / 332 MB, free: 14.52 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.22e-05/0.007212, allocations: 4 kB / 332 MB, free: 14.52 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.001013/0.00823, allocations: 1.022 MB / 333 MB, free: 13.39 MB / 286.1 MB Notification: Performance of FunctionAlias: time 4.327e-05/0.00828, allocations: 43.91 kB / 333 MB, free: 13.35 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004616/0.008747, allocations: 0.4994 MB / 333.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simplify1: time 4.713e-05/0.008802, allocations: 39.89 kB / 333.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of Alias: time 0.0009829/0.009791, allocations: 0.8107 MB / 334.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simplify2: time 2.25e-05/0.009826, allocations: 27.92 kB / 334.4 MB, free: 11.83 MB / 286.1 MB Notification: Performance of Events: time 7.334e-05/0.009905, allocations: 37.03 kB / 334.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001801/0.01009, allocations: 128.1 kB / 334.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of Partitioning: time 0.000127/0.01023, allocations: 116.1 kB / 334.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of Causalize: time 0.0006467/0.01088, allocations: 0.5939 MB / 335.3 MB, free: 10.94 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002409/0.01113, allocations: 280.1 kB / 335.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of Inline: time 0.000705/0.01184, allocations: 0.6406 MB / 336.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of Partitioning: time 4.193e-05/0.01189, allocations: 42.36 kB / 336.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of Cleanup: time 2.729e-05/0.01193, allocations: 19.98 kB / 336.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of Causalize: time 0.0009686/0.0129, allocations: 1.021 MB / 337.3 MB, free: 8.875 MB / 286.1 MB Notification: Performance of Tearing: time 5.531e-06/0.01292, allocations: 3.938 kB / 337.3 MB, free: 8.871 MB / 286.1 MB Notification: Performance of Initialization: time 3.31e-07/0.01292, allocations: 1.031 kB / 337.3 MB, free: 8.871 MB / 286.1 MB Notification: Performance of Tearing: time 1.022e-06/0.01293, allocations: 64 / 337.3 MB, free: 8.871 MB / 286.1 MB Notification: Performance of Categorize: time 9.578e-06/0.01294, allocations: 8 kB / 337.3 MB, free: 8.863 MB / 286.1 MB Notification: Performance of Solve: time 0.0001578/0.01311, allocations: 101.6 kB / 337.4 MB, free: 8.762 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0002877/0.0134, allocations: 346 kB / 337.7 MB, free: 8.383 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.849e-05/0.01345, allocations: 40.16 kB / 337.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of SimCode: time 0.001904/0.01536, allocations: 1.738 MB / 339.5 MB, free: 6.586 MB / 286.1 MB Notification: Performance of Templates: time 0.004486/0.01986, allocations: 1.826 MB / 341.3 MB, free: 4.758 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)