Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion.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.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion") translateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001141/0.001141, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.394e-05, allocations: 2.281 kB / 327.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.004368/0.0044, allocations: 3.574 MB / 330.7 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.006486, allocations: 1.255 MB / 332 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002356/0.006736, allocations: 15.94 kB / 332 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.007067, allocations: 78.98 kB / 332.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.007483, allocations: 150.7 kB / 332.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000685/0.008176, allocations: 379.5 kB / 332.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008832/0.009067, allocations: 0.9586 MB / 333.6 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.009638, allocations: 394.4 kB / 334 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.00999, allocations: 330.7 kB / 334.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003139/0.01031, allocations: 342.3 kB / 334.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.01043, allocations: 96 kB / 334.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.01054, allocations: 88 kB / 334.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0007371/0.01128, allocations: 1.128 MB / 335.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003732/0.01166, allocations: 0.6886 MB / 336.6 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.0118, allocations: 131.6 kB / 336.7 MB, free: 9.703 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.029e-05/0.0119, allocations: 43.67 kB / 336.8 MB, free: 9.66 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: 135 (135) * Number of variables: 135 (129) Notification: Performance of Bindings: time 0.002965/0.01487, allocations: 3.436 MB / 340.2 MB, free: 6.082 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004676/0.01534, allocations: 436.7 kB / 340.6 MB, free: 5.645 MB / 286.1 MB Notification: Performance of Early Inline: time 0.00165/0.017, allocations: 1.827 MB / 342.5 MB, free: 3.781 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001694/0.01718, allocations: 147.8 kB / 342.6 MB, free: 3.637 MB / 286.1 MB Notification: Performance of Alias: time 0.003433/0.02062, allocations: 3.141 MB / 345.8 MB, free: 120 kB / 286.1 MB Notification: Performance of simplify2: time 0.0001283/0.02077, allocations: 103.9 kB / 345.9 MB, free: 16 kB / 286.1 MB Notification: Performance of Events: time 0.0005569/0.02133, allocations: 458.9 kB / 346.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006501/0.02199, allocations: 0.6627 MB / 347 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006595/0.02266, allocations: 0.6373 MB / 347.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of Causalize: time 0.003372/0.02604, allocations: 3.414 MB / 351 MB, free: 10.66 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001541/0.02759, allocations: 1.576 MB / 352.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of Inline: time 0.002693/0.0303, allocations: 2.65 MB / 355.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001974/0.03051, allocations: 171.7 kB / 355.4 MB, free: 6.164 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0003005/0.03082, allocations: 320.1 kB / 355.7 MB, free: 5.844 MB / 302.1 MB Notification: Performance of Causalize: time 0.01551/0.04633, allocations: 16.87 MB / 372.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of Tearing: time 2.299e-05/0.0464, allocations: 4 kB / 372.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Initialization: time 1.764e-06/0.04641, allocations: 0 / 372.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Tearing: time 1.576e-05/0.04643, allocations: 0 / 372.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Categorize: time 3.377e-05/0.04648, allocations: 7.938 kB / 372.6 MB, free: 5.719 MB / 318.1 MB Notification: Performance of Solve: time 0.001141/0.04762, allocations: 0.5285 MB / 373.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0005351/0.04817, allocations: 0.5623 MB / 373.7 MB, free: 4.582 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 10 * 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: ............................. 6 (6) {thd1.harmonic.mean1.x, thd1.harmonic.mean2.x, thd1.rootMeanSquare.mean.x, thdRMS.harmonic.mean1.x, thdRMS.harmonic.mean2.x, thdRMS.rootMeanSquare.mean.x} * Number of discrete states: .................... 6 (6) {thdRMS.rootMeanSquare.mean.y, thdRMS.harmonic.mean2.y, thdRMS.harmonic.mean1.y, thd1.rootMeanSquare.mean.y, thd1.harmonic.mean2.y, thd1.harmonic.mean1.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 36 (36) {thd1.greaterThreshold.y, thd1.pythagoras.valid, thd1.andValid.y, thdRMS.greaterThreshold.y, thdRMS.pythagoras.valid, thdRMS.andValid.y, $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_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $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: ........... 96 (scalar:96, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 168 (scalar:168, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 168 (scalar:168, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.000107/0.04828, allocations: 112.1 kB / 373.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of SimCode: time 0.00299/0.05128, allocations: 3.407 MB / 377.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of Templates: time 0.1932/0.2445, allocations: 6.612 MB / 383.8 MB, free: 43.68 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & ./Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1)