Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1440000,variableFilter="time|core.T|winding.T",fileNamePrefix="Modelica_3.2.3_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.001052/0.001052, allocations: 105.1 kB / 18.41 MB, free: 4.688 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.0009419/0.000942, allocations: 193.4 kB / 19.35 MB, free: 3.762 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.563/1.563, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.138e-05, allocations: 2.281 kB / 329.1 MB, free: 3.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.Motor): time 0.003242/0.003272, allocations: 2.225 MB / 331.4 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004793, allocations: 0.9517 MB / 332.3 MB, free: 180 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.004919, allocations: 4 kB / 332.3 MB, free: 176 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.005303, allocations: 99.48 kB / 332.4 MB, free: 76 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.005623, allocations: 119.4 kB / 332.5 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.005961, allocations: 127.6 kB / 332.7 MB, free: 15.83 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.006319, allocations: 310.7 kB / 333 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.006542, allocations: 92.56 kB / 333.1 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.006698, allocations: 107.6 kB / 333.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.006867, allocations: 115.5 kB / 333.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.006906, allocations: 16 kB / 333.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.007033, allocations: 55.92 kB / 333.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002597/0.0073, allocations: 348.2 kB / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001239/0.00743, allocations: 224.7 kB / 333.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.6e-05/0.007492, allocations: 39.88 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.546e-05/0.007523, allocations: 4 kB / 333.9 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.001134/0.008663, allocations: 1.037 MB / 335 MB, free: 13.39 MB / 286.1 MB Notification: Performance of FunctionAlias: time 9.727e-05/0.008767, allocations: 55.86 kB / 335 MB, free: 13.34 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0004875/0.009262, allocations: 0.515 MB / 335.6 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simplify1: time 3.936e-05/0.009309, allocations: 39.94 kB / 335.6 MB, free: 12.76 MB / 286.1 MB Notification: Performance of Alias: time 0.001124/0.01044, allocations: 0.9145 MB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simplify2: time 2.359e-05/0.01047, allocations: 23.97 kB / 336.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of Events: time 7.242e-05/0.01055, allocations: 43.84 kB / 336.6 MB, free: 11.67 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001888/0.01075, allocations: 129 kB / 336.7 MB, free: 11.53 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001471/0.0109, allocations: 128.1 kB / 336.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of Causalize: time 0.0005499/0.01146, allocations: 479.3 kB / 337.3 MB, free: 10.92 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002689/0.01174, allocations: 308.1 kB / 337.6 MB, free: 10.59 MB / 286.1 MB Notification: Performance of Inline: time 0.0006685/0.01241, allocations: 0.6923 MB / 338.3 MB, free: 9.863 MB / 286.1 MB Notification: Performance of Partitioning: time 4.415e-05/0.01247, allocations: 50.34 kB / 338.3 MB, free: 9.809 MB / 286.1 MB Notification: Performance of Cleanup: time 3.034e-05/0.01251, allocations: 23.97 kB / 338.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of Causalize: time 0.000995/0.01351, allocations: 0.8616 MB / 339.2 MB, free: 8.914 MB / 286.1 MB Notification: Performance of Tearing: time 8.807e-06/0.01353, allocations: 3.938 kB / 339.2 MB, free: 8.91 MB / 286.1 MB Notification: Performance of Initialization: time 3.2e-07/0.01353, allocations: 4 kB / 339.2 MB, free: 8.906 MB / 286.1 MB Notification: Performance of Tearing: time 1.072e-06/0.01354, allocations: 0 / 339.2 MB, free: 8.906 MB / 286.1 MB Notification: Performance of Categorize: time 7.865e-06/0.01355, allocations: 0 / 339.2 MB, free: 8.906 MB / 286.1 MB Notification: Performance of Solve: time 0.0001735/0.01373, allocations: 109.6 kB / 339.3 MB, free: 8.801 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0003572/0.01409, allocations: 374 kB / 339.7 MB, free: 8.395 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: ................. 3 (2) {$SEV_0, $TEV_0[$i1]} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, 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: ........... 30 (scalar:29, array:0, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.956e-05/0.01414, allocations: 33.47 kB / 339.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of SimCode: time 0.002031/0.01618, allocations: 1.793 MB / 341.5 MB, free: 6.543 MB / 286.1 MB Notification: Performance of Templates: time 0.004627/0.02082, allocations: 1.924 MB / 343.4 MB, free: 4.617 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)