Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.00136, allocations: 111.8 kB / 16.42 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 222.9 MB / 240.1 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 196.4 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03372/0.03372, allocations: 8.795 MB / 349.3 MB, free: 4.562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.493e-05, allocations: 3.828 kB / 464.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.TestTransformer): time 0.005906/0.00594, allocations: 3.806 MB / 468.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.008328, allocations: 0.9231 MB / 469.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006044/0.008956, allocations: 11.94 kB / 469.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.009342, allocations: 83.16 kB / 469.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000783/0.0102, allocations: 166.6 kB / 469.5 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.01077, allocations: 167.7 kB / 469.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.01195, allocations: 0.7283 MB / 470.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005859/0.01255, allocations: 297.3 kB / 470.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005077/0.01307, allocations: 255.1 kB / 470.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000485/0.01357, allocations: 274.8 kB / 471.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.01372, allocations: 71.94 kB / 471.3 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.01392, allocations: 68 kB / 471.3 MB, free: 6.262 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007702/0.0147, allocations: 0.8887 MB / 472.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005044/0.01521, allocations: 0.5311 MB / 472.7 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.01545, allocations: 107.7 kB / 472.8 MB, free: 4.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001615/0.01562, allocations: 15.94 kB / 472.9 MB, free: 4.703 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 (128) * Number of variables: 128 (128) Notification: Performance of Bindings: time 0.003093/0.01872, allocations: 2.703 MB / 475.6 MB, free: 1.871 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004002/0.01913, allocations: 202 kB / 475.8 MB, free: 1.656 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002102/0.02124, allocations: 1.452 MB / 477.2 MB, free: 172 kB / 302.1 MB Notification: Performance of simplify1: time 0.0002534/0.0215, allocations: 127.8 kB / 477.3 MB, free: 44 kB / 302.1 MB Notification: Performance of Alias: time 0.004823/0.02633, allocations: 3.313 MB / 480.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001558/0.02651, allocations: 71.91 kB / 480.7 MB, free: 12.41 MB / 318.1 MB Notification: Performance of Detect States: time 0.0004086/0.02693, allocations: 252.6 kB / 481 MB, free: 12.15 MB / 318.1 MB Notification: Performance of Events: time 0.0002899/0.02723, allocations: 124.9 kB / 481.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0006047/0.02785, allocations: 389.9 kB / 481.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of Causalize: time 0.002318/0.03018, allocations: 1.449 MB / 482.9 MB, free: 10.13 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0009753/0.03117, allocations: 0.7715 MB / 483.7 MB, free: 9.328 MB / 318.1 MB Notification: Performance of Inline: time 0.001822/0.033, allocations: 1.381 MB / 485.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000127/0.03314, allocations: 83.61 kB / 485.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001572/0.03331, allocations: 67.88 kB / 485.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of Causalize: time 0.005581/0.03889, allocations: 3.622 MB / 488.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of Tearing: time 0.00118/0.04009, allocations: 1.031 MB / 489.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of Initialization: time 2.715e-06/0.04011, allocations: 0 / 489.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of Tearing: time 0.001102/0.04122, allocations: 1.027 MB / 490.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of Categorize: time 2.365e-05/0.04126, allocations: 7.938 kB / 490.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of Solve: time 0.0004861/0.04175, allocations: 222.5 kB / 491.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of Jacobian: time 0.000854/0.04261, allocations: 0.7366 MB / 491.9 MB, free: 0.8633 MB / 318.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: ......... 3 * 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) {transformer.converter2.Phi, transformer.eddyCurrent.Phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (8) {switch.off, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 46 (scalar:46, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 69 (scalar:69, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 8.069e-05/0.0427, allocations: 51.59 kB / 491.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of SimCode: time 0.002858/0.04557, allocations: 2.586 MB / 494.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Templates: time 0.009769/0.05535, allocations: 4.175 MB / 498.7 MB, free: 10.02 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & ./HanserModelica_HanserModelica.Magnetic.TestTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1)