Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveVoltage.1..mean1.y|fundamentalWaveVoltage.1..mean2.y|fundamentalWaveVoltage.2..mean1.y|fundamentalWaveVoltage.2..mean2.y|fundamentalWaveVoltage.3..mean1.y|fundamentalWaveVoltage.3..mean2.y|inverter.ac.pin.1..v|inverter.ac.pin.1..i|inverter.ac.pin.2..v|inverter.ac.pin.2..i|inverter.ac.pin.3..v|inverter.ac.pin.3..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 61.16 kB / 306.3 MB, free: 1.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08902, allocations: 50.53 MB / 356.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.007159/0.09621, allocations: 6.582 MB / 363.4 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.09955, allocations: 2.072 MB / 365.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005418/0.1001, allocations: 43.75 kB / 365.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004978/0.1006, allocations: 226.4 kB / 365.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1017, allocations: 453.6 kB / 366.2 MB, free: 5.074 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.1026, allocations: 443.1 kB / 366.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00372/0.1063, allocations: 3.977 MB / 370.6 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1593/0.2657, allocations: 2.343 MB / 372.9 MB, free: 9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.2676, allocations: 1.249 MB / 374.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.2697, allocations: 1.672 MB / 375.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000401/0.2702, allocations: 208.2 kB / 376 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005432/0.2707, allocations: 221 kB / 376.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006516/0.2714, allocations: 0.788 MB / 377 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.2728, allocations: 1.539 MB / 378.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004012/0.2769, allocations: 4.853 MB / 383.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2769, allocations: 0 / 383.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2769, allocations: 0 / 383.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.277, allocations: 1.625 kB / 383.4 MB, free: 6.98 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: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.007497/0.2845, allocations: 3.996 MB / 387.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2846, allocations: 8.875 kB / 387.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.2865, allocations: 499.7 kB / 387.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/0.2901, allocations: 2.216 MB / 390.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.2904, allocations: 212.9 kB / 390.4 MB, free: 3.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003967/0.2908, allocations: 261.2 kB / 390.6 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006223/0.297, allocations: 3.896 MB / 394.5 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/0.2971, allocations: 11.11 kB / 394.5 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.2974, allocations: 106.1 kB / 394.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.919e-05/0.2975, allocations: 88.94 kB / 394.7 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006048/0.3035, allocations: 3.527 MB / 398.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01769/0.3212, allocations: 10.58 MB / 408.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005561/0.3268, allocations: 3.947 MB / 412.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002617/0.3295, allocations: 1.663 MB / 414.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.3296, allocations: 32.78 kB / 414.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003262/0.3329, allocations: 2.004 MB / 416.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=220): time 3.937e-06/0.3329, allocations: 3.938 kB / 416.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=220): time 0.01845/0.3514, allocations: 7.328 MB / 423.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.3515, allocations: 259.5 kB / 424 MB, free: 6.164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.3548, allocations: 2.258 MB / 426.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000305/0.3551, allocations: 97.67 kB / 426.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009818/0.3561, allocations: 1.114 MB / 427.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/0.3567, allocations: 0.6626 MB / 428.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00071/0.3574, allocations: 436 kB / 428.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.3575, allocations: 305.1 kB / 428.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/0.36, allocations: 1.336 MB / 430.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002668/0.3627, allocations: 1.855 MB / 432.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004797/0.3675, allocations: 3.093 MB / 435.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.3675, allocations: 4 kB / 435.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007029/0.3746, allocations: 3.951 MB / 439.1 MB, free: 6.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.589e-05/0.3747, allocations: 93.11 kB / 439.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/0.3747, allocations: 12 kB / 439.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.3768, allocations: 0.8487 MB / 440.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.3785, allocations: 386.6 kB / 440.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.39, allocations: 7.88 MB / 448.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.3931, allocations: 329.7 kB / 448.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/0.3935, allocations: 87.98 kB / 448.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004625/0.3982, allocations: 2.179 MB / 450.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002596/0.4008, allocations: 1.775 MB / 452.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004389/0.4052, allocations: 2.962 MB / 455.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.158e-05/0.4052, allocations: 8 kB / 455.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006554/0.4118, allocations: 3.801 MB / 459.5 MB, free: 1.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.4119, allocations: 93.09 kB / 459.6 MB, free: 1.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.4119, allocations: 12 kB / 459.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.4138, allocations: 0.8541 MB / 460.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.4152, allocations: 347.7 kB / 460.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.4257, allocations: 7.871 MB / 468.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.428, allocations: 294.2 kB / 468.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.4282, allocations: 83.98 kB / 469 MB, free: 8.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 90 (signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition14,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition16,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition18,signalPWM[3].sawtooth.count,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].zeroOrderHold.ySample,signalPWM[3].notFire,signalPWM[2].sawtooth.count,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].zeroOrderHold.ySample,signalPWM[2].notFire,signalPWM[1].sawtooth.count,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].zeroOrderHold.ySample,signalPWM[1].notFire,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition13,$whenCondition15,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0007592/0.429, allocations: 396.1 kB / 469.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/0.4296, allocations: 245 kB / 469.6 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00688/0.4364, allocations: 3.689 MB / 473.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.4365, allocations: 24 kB / 473.4 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4365, allocations: 0 / 473.4 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.4365, allocations: 11.91 kB / 473.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.4491, allocations: 6.769 MB / 480.1 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.697e-06/0.4491, allocations: 0 / 480.1 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.4504, allocations: 269.1 kB / 480.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.4523, allocations: 0.8287 MB / 481.2 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002898/0.4526, allocations: 63.95 kB / 481.3 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.4635, allocations: 7.836 MB / 489.1 MB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4636, allocations: 0 / 489.1 MB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009634/0.4732, allocations: 5.541 MB / 494.7 MB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.4748, allocations: 0.6498 MB / 495.3 MB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004612/0.4753, allocations: 79.95 kB / 495.4 MB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.4767, allocations: 195.7 kB / 495.6 MB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006822/0.4774, allocations: 285.5 kB / 495.9 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.4775, allocations: 71.97 kB / 495.9 MB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002287/0.4798, allocations: 1.57 MB / 497.5 MB, free: 11.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.4798, allocations: 0 / 497.5 MB, free: 11.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003844/0.4837, allocations: 1.356 MB / 498.9 MB, free: 10.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x) * Number of discrete variables: 66 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,signalPWM[1].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last) * Number of discrete states: 18 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,46)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004388/0.4842, allocations: 256.1 kB / 499.1 MB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009873/0.494, allocations: 6.116 MB / 0.4934 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4941, allocations: 0 / 0.4934 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003573/0.4976, allocations: 2.051 MB / 0.4954 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/0.5005, allocations: 0.5882 MB / 0.496 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.5117, allocations: 7.305 MB / 0.5031 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002098/0.5139, allocations: 2.446 MB / 0.5055 GB, free: 7.477 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002623/0.5165, allocations: 0.9553 MB / 0.5064 GB, free: 6.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.517, allocations: 159.4 kB / 0.5066 GB, free: 6.359 MB / 430.1 MB Notification: Performance of SimCode: time 7.91e-07/0.517, allocations: 0 / 0.5066 GB, free: 6.359 MB / 430.1 MB Notification: Performance of Templates: time 0.2384/0.7555, allocations: 51.2 MB / 0.5566 GB, free: 135.2 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_R/PolyphaseTwoLevel_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches