Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.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.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 107.5 kB / 18.41 MB, free: 4.645 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.001399/0.001399, allocations: 189.3 kB / 19.35 MB, free: 3.715 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.515/1.515, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.471e-05, allocations: 5.234 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R): time 0.006202/0.006236, allocations: 4.737 MB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.009368, allocations: 1.411 MB / 335.4 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008232/0.0102, allocations: 15.94 kB / 335.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.01071, allocations: 126.6 kB / 335.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008643/0.01158, allocations: 210.1 kB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01259, allocations: 359.4 kB / 336 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.01418, allocations: 1.169 MB / 337.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00069/0.01488, allocations: 419 kB / 337.6 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.01554, allocations: 394.5 kB / 338 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006059/0.01616, allocations: 418 kB / 338.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.01638, allocations: 96 kB / 338.5 MB, free: 9.922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.01656, allocations: 100 kB / 338.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0009417/0.01751, allocations: 1.375 MB / 340 MB, free: 8.434 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004758/0.01799, allocations: 0.8427 MB / 340.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.01819, allocations: 155.5 kB / 341 MB, free: 7.426 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001801/0.01837, allocations: 51.67 kB / 341 MB, free: 7.375 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: 167 (167) * Number of variables: 167 (163) Notification: Performance of Bindings: time 0.003295/0.02168, allocations: 3.945 MB / 345 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0004384/0.02212, allocations: 400.2 kB / 345.4 MB, free: 2.871 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002009/0.02414, allocations: 2.112 MB / 347.5 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simplify1: time 0.00021/0.02436, allocations: 179.8 kB / 347.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of Alias: time 0.004844/0.02922, allocations: 3.88 MB / 351.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001225/0.02935, allocations: 119.8 kB / 351.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Detect States: time 0.0006155/0.02998, allocations: 0.5912 MB / 352.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Events: time 0.0006082/0.0306, allocations: 0.5063 MB / 352.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007664/0.03137, allocations: 0.711 MB / 353.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Causalize: time 0.003235/0.03462, allocations: 2.834 MB / 356.3 MB, free: 7.332 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001586/0.03621, allocations: 1.692 MB / 358 MB, free: 5.609 MB / 302.1 MB Notification: Performance of Inline: time 0.002901/0.03913, allocations: 2.924 MB / 360.9 MB, free: 2.633 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001991/0.03934, allocations: 175.7 kB / 361.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0003106/0.03965, allocations: 347.5 kB / 361.4 MB, free: 2.098 MB / 302.1 MB Notification: Performance of Causalize: time 0.01718/0.05684, allocations: 15.31 MB / 376.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of Tearing: time 0.2004/0.2573, allocations: 2.679 MB / 379.4 MB, free: 42.57 MB / 318.1 MB Notification: Performance of Initialization: time 2.425e-06/0.2573, allocations: 2.125 kB / 379.4 MB, free: 42.57 MB / 318.1 MB Notification: Performance of Tearing: time 0.001625/0.259, allocations: 1.313 MB / 380.7 MB, free: 42.26 MB / 318.1 MB Notification: Performance of Categorize: time 4.237e-05/0.259, allocations: 11.02 kB / 380.7 MB, free: 42.26 MB / 318.1 MB Notification: Performance of Solve: time 0.001775/0.2608, allocations: 0.5022 MB / 381.2 MB, free: 42.22 MB / 318.1 MB Notification: Performance of Jacobian: time 0.00196/0.2628, allocations: 1.203 MB / 382.4 MB, free: 41.87 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: ......... 8 * 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: ............................. 4 (4) {fundamentalWaveVoltage.mean1.x, fundamentalWaveVoltage.mean2.x, fundamentalWaveCurrent.mean1.x, fundamentalWaveCurrent.mean2.x} * Number of discrete states: .................... 8 (8) {fundamentalWaveCurrent.mean2.y, fundamentalWaveCurrent.mean1.y, fundamentalWaveVoltage.mean2.y, fundamentalWaveVoltage.mean1.y, signalPWM.sawtooth.T_start, signalPWM.sawtooth.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 40 (40) {inverter.enableLogic.booleanReplicator.y, inverter.enableLogic.internalEnable, inverter.andCondition_p.u1, inverter.andCondition_p.u2, inverter.andCondition_p.y, inverter.andCondition_n.u2, inverter.andCondition_n.y, inverter.transistor_p.off, inverter.diode_p.off, inverter.transistor_n.off, inverter.diode_n.off, signalPWM.zeroOrderHold.sampleTrigger, $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_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: ........... 84 (scalar:82, array:2, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 155 (scalar:153, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 155 (scalar:153, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0002299/0.263, allocations: 90.75 kB / 382.5 MB, free: 41.84 MB / 318.1 MB Notification: Performance of SimCode: time 0.006283/0.2693, allocations: 4.085 MB / 386.6 MB, free: 40.32 MB / 318.1 MB Notification: Performance of Templates: time 0.01844/0.2878, allocations: 8.691 MB / 395.3 MB, free: 38.02 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R.pipe 2>&1)