Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MagLev_MagLev.Examples.Continuous.SpeedControl.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo", uses=false) Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/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 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(MagLev.Examples.Continuous.SpeedControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.Continuous.SpeedControl") translateModel(MagLev.Examples.Continuous.SpeedControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.Continuous.SpeedControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 106.2 kB / 16.42 MB, free: 6.48 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.00147/0.00147, allocations: 188.3 kB / 17.36 MB, free: 5.703 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.01911/0.01911, allocations: 4.236 MB / 295.4 MB, free: 10.56 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/1.975e-05, allocations: 2.281 kB / 408.4 MB, free: 27.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.Continuous.SpeedControl): time 0.005881/0.005909, allocations: 6.381 MB / 414.8 MB, free: 21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004954/0.01088, allocations: 2.349 MB / 417.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009379/0.01184, allocations: 19.94 kB / 417.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.01294, allocations: 340.8 kB / 417.5 MB, free: 18.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01402, allocations: 337.3 kB / 417.8 MB, free: 17.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.01523, allocations: 0.4952 MB / 418.3 MB, free: 17.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.01675, allocations: 1.649 MB / 420 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007619/0.01753, allocations: 0.7864 MB / 420.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.01796, allocations: 0.5486 MB / 421.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000741/0.01871, allocations: 0.6357 MB / 421.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.01884, allocations: 152 kB / 422.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006321/0.01947, allocations: 0.5888 MB / 422.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007548/0.02024, allocations: 2.093 MB / 424.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003649/0.02061, allocations: 1.324 MB / 426.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.02077, allocations: 215.3 kB / 426.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002595/0.02103, allocations: 55.61 kB / 426.4 MB, free: 9.332 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: 253 (249) * Number of variables: 253 (250) Notification: Performance of Bindings: time 0.004042/0.02508, allocations: 7.061 MB / 433.4 MB, free: 2.066 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003118/0.0254, allocations: 346 kB / 433.8 MB, free: 1.73 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002522/0.02793, allocations: 3.35 MB / 437.1 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simplify1: time 0.0004719/0.02841, allocations: 419.7 kB / 437.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of Alias: time 0.007803/0.03622, allocations: 7.296 MB / 444.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of simplify2: time 0.00028/0.03653, allocations: 199.5 kB / 445 MB, free: 5.895 MB / 318.1 MB Notification: Performance of Detect States: time 0.0006197/0.03716, allocations: 0.6233 MB / 445.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of Events: time 0.0002928/0.03746, allocations: 235.5 kB / 445.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0006132/0.03808, allocations: 0.6171 MB / 446.5 MB, free: 4.336 MB / 318.1 MB Notification: Performance of Causalize: time 0.00241/0.0405, allocations: 2.176 MB / 448.7 MB, free: 2.102 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001311/0.04182, allocations: 1.394 MB / 450.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of Inline: time 0.003622/0.04545, allocations: 3.616 MB / 453.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0002362/0.0457, allocations: 219.6 kB / 453.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0004783/0.04619, allocations: 0.6242 MB / 454.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Causalize: time 0.02689/0.07308, allocations: 22.92 MB / 477.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of Tearing: time 3.918e-05/0.07316, allocations: 4 kB / 477.4 MB, free: 5 MB / 350.1 MB Notification: Performance of Initialization: time 1.072e-06/0.07317, allocations: 0 / 477.4 MB, free: 5 MB / 350.1 MB Notification: Performance of Tearing: time 1.152e-05/0.07318, allocations: 3.938 kB / 477.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of Categorize: time 3.369e-05/0.07322, allocations: 4 kB / 477.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of Solve: time 0.001887/0.07511, allocations: 1.412 MB / 478.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of Jacobian: time 0.001077/0.07621, allocations: 0.9953 MB / 479.9 MB, free: 2.43 MB / 350.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: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 13 (13) {coil.i, currentController.x, speedController.x, firstOrder.y, adda.sample1.y, converter.variableLimiter.simplifiedExpr, currentController.u_m, e2d.sample2.y, magnet.d, magnet.d_der, converter.hBridge.powerSensor1.currentSensor.i, converter.firstOrder.y, e2d.dt1.x} * Number of discrete states: .................... 1 (1) {coil.hallSensor.uniformNoise.r} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 25 (19) {coil.hallSensor.uniformNoise.state, coil.hallSensor.uniformNoise.r_raw, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $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: ........... 88 (scalar:87, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, 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: ........... 198 (scalar:196, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 198 (scalar:196, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001106/0.07633, allocations: 104.7 kB / 480 MB, free: 2.336 MB / 350.1 MB Notification: Performance of SimCode: time 0.005372/0.08171, allocations: 5.133 MB / 485.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Templates: time 0.01583/0.09755, allocations: 9.828 MB / 494.9 MB, free: 3.312 MB / 366.1 MB make -j1 -f MagLev_MagLev.Examples.Continuous.SpeedControl.makefile (rm -f MagLev_MagLev.Examples.Continuous.SpeedControl.pipe ; mkfifo MagLev_MagLev.Examples.Continuous.SpeedControl.pipe ; head -c 1048576 < MagLev_MagLev.Examples.Continuous.SpeedControl.pipe >> ../files/MagLev_MagLev.Examples.Continuous.SpeedControl.sim & ./MagLev_MagLev.Examples.Continuous.SpeedControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > MagLev_MagLev.Examples.Continuous.SpeedControl.pipe 2>&1)