Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i|inductor.inductor.4..i|inductor.inductor.5..i|inductor.inductor.6..i|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveCurrent.4..mean1.y|fundamentalWaveCurrent.4..mean2.y|fundamentalWaveCurrent.5..mean1.y|fundamentalWaveCurrent.5..mean2.y|fundamentalWaveCurrent.6..mean1.y|fundamentalWaveCurrent.6..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|fundamentalWaveVoltage.4..mean1.y|fundamentalWaveVoltage.4..mean2.y|fundamentalWaveVoltage.5..mean1.y|fundamentalWaveVoltage.5..mean2.y|fundamentalWaveVoltage.6..mean1.y|fundamentalWaveVoltage.6..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|inverter.ac.pin.4..v|inverter.ac.pin.4..i|inverter.ac.pin.5..v|inverter.ac.pin.5..i|inverter.ac.pin.6..v|inverter.ac.pin.6..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i|inductor.inductor.4..i|inductor.inductor.5..i|inductor.inductor.6..i|fundamentalWaveCurrent.1..mean1.y|fundamentalWaveCurrent.1..mean2.y|fundamentalWaveCurrent.2..mean1.y|fundamentalWaveCurrent.2..mean2.y|fundamentalWaveCurrent.3..mean1.y|fundamentalWaveCurrent.3..mean2.y|fundamentalWaveCurrent.4..mean1.y|fundamentalWaveCurrent.4..mean2.y|fundamentalWaveCurrent.5..mean1.y|fundamentalWaveCurrent.5..mean2.y|fundamentalWaveCurrent.6..mean1.y|fundamentalWaveCurrent.6..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|fundamentalWaveVoltage.4..mean1.y|fundamentalWaveVoltage.4..mean2.y|fundamentalWaveVoltage.5..mean1.y|fundamentalWaveVoltage.5..mean2.y|fundamentalWaveVoltage.6..mean1.y|fundamentalWaveVoltage.6..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|inverter.ac.pin.4..v|inverter.ac.pin.4..i|inverter.ac.pin.5..v|inverter.ac.pin.5..i|inverter.ac.pin.6..v|inverter.ac.pin.6..i|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008618/0.0008617, allocations: 95.03 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.435e-05/1.445e-05, allocations: 4 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.09937, allocations: 50.43 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3117/0.4112, allocations: 91.13 MB / 478.6 MB, free: 3.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4114, allocations: 91.94 kB / 478.7 MB, free: 3.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2132/0.6246, allocations: 82.69 MB / 0.5482 GB, free: 356 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6247, allocations: 0 / 0.5482 GB, free: 356 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000626/0.6253, allocations: 135.9 kB / 0.5484 GB, free: 220 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.2749/0.9003, allocations: 6.43 MB / 0.5547 GB, free: 51.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9003, allocations: 12.47 kB / 0.5547 GB, free: 51.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/0.9036, allocations: 0.6688 MB / 0.5553 GB, free: 51.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/0.9139, allocations: 3.646 MB / 0.5589 GB, free: 50.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004073/0.9144, allocations: 165.1 kB / 0.559 GB, free: 50.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.9164, allocations: 323.6 kB / 0.5593 GB, free: 50.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01335/0.9297, allocations: 6.232 MB / 0.5654 GB, free: 50.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.9447, allocations: 6.735 MB / 0.572 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.9449, allocations: 15.44 kB / 0.572 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005482/0.9455, allocations: 23.45 kB / 0.572 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/0.9456, allocations: 183.5 kB / 0.5722 GB, free: 50.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/0.9812, allocations: 20.64 MB / 0.5924 GB, free: 46.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007707/0.9889, allocations: 7.438 MB / 0.5996 GB, free: 45.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004514/0.9935, allocations: 3.51 MB / 0.6031 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/0.9938, allocations: 69.62 kB / 0.6031 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005603/0.9994, allocations: 3.735 MB / 0.6068 GB, free: 45.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=457): time 9.578e-06/0.9995, allocations: 0 / 0.6068 GB, free: 45.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=458): time 0.02003/1.02, allocations: 12.29 MB / 0.6188 GB, free: 41.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/1.02, allocations: 461.6 kB / 0.6192 GB, free: 41.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004944/1.025, allocations: 2.874 MB / 0.622 GB, free: 40.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006605/1.025, allocations: 80.81 kB / 0.6221 GB, free: 40.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001914/1.027, allocations: 2.057 MB / 0.6241 GB, free: 38.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.029, allocations: 1.338 MB / 0.6254 GB, free: 37.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/1.029, allocations: 3.969 kB / 0.6254 GB, free: 37.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002771/1.029, allocations: 496.5 kB / 0.6259 GB, free: 37.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/1.032, allocations: 2.431 MB / 0.6283 GB, free: 36.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/1.036, allocations: 3.474 MB / 0.6317 GB, free: 34.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/1.039, allocations: 2.709 MB / 0.6343 GB, free: 33.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.039, allocations: 7.688 kB / 0.6343 GB, free: 33.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.008464/1.047, allocations: 7.007 MB / 0.6412 GB, free: 31.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001806/1.049, allocations: 11.49 MB / 0.6524 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.295e-05/1.049, allocations: 25.59 kB / 0.6524 GB, free: 18.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/1.052, allocations: 1.694 MB / 0.6541 GB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/1.055, allocations: 0.8253 MB / 0.6549 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/1.073, allocations: 21.31 MB / 0.6757 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.077, allocations: 390.2 kB / 0.676 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005658/1.077, allocations: 182.5 kB / 0.6762 GB, free: 2.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/1.077, allocations: 4 kB / 0.6762 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009273/1.087, allocations: 6.613 MB / 0.6827 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.998e-05/1.087, allocations: 24.94 kB / 0.6827 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/1.09, allocations: 1.691 MB / 0.6844 GB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.093, allocations: 0.7564 MB / 0.6851 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/1.117, allocations: 21.31 MB / 0.7059 GB, free: 6.797 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/1.121, allocations: 315.7 kB / 0.7062 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006985/1.122, allocations: 180 kB / 0.7064 GB, free: 6.312 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.firstTrigger,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean2.y_last,$whenCondition26,signalPWM[6].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.ySample,$whenCondition28,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.ySample,$whenCondition30,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.ySample,$whenCondition32,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.ySample,$whenCondition34,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.ySample,$whenCondition36,signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[1].zeroOrderHold.ySample,$whenCondition35,$whenCondition33,$whenCondition31,$whenCondition29,$whenCondition27,$whenCondition25,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.fire_n[4],inverter.fire_n[5],inverter.fire_n[6],inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,$PRE.signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.count,$PRE.signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.count,$PRE.signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.count,$PRE.signalPWM[4].zeroOrderHold.ySample,$PRE.signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.count,$PRE.signalPWM[5].zeroOrderHold.ySample,$PRE.signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.count,$PRE.signalPWM[6].zeroOrderHold.ySample,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (460): * Single equations (assignments): 447 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.001231/1.123, allocations: 377 kB / 0.7067 GB, free: 5.949 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009149/1.124, allocations: 423 kB / 0.7071 GB, free: 5.531 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2466/1.371, allocations: 6.736 MB / 0.7137 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.687e-05/1.371, allocations: 43.59 kB / 0.7138 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/1.371, allocations: 4.016 kB / 0.7138 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/1.371, allocations: 24.62 kB / 0.7138 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02527/1.396, allocations: 12.54 MB / 0.726 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.396, allocations: 1.156 kB / 0.726 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/1.399, allocations: 0.6116 MB / 0.7266 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/1.403, allocations: 1.671 MB / 0.7283 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008222/1.404, allocations: 74.59 kB / 0.7283 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/1.423, allocations: 21.2 MB / 0.749 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.423, allocations: 8.031 kB / 0.749 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/1.437, allocations: 10.69 MB / 0.7595 GB, free: 94.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003399/1.441, allocations: 1.115 MB / 0.7606 GB, free: 94.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/1.442, allocations: 101.5 kB / 0.7607 GB, free: 94.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/1.445, allocations: 394 kB / 0.761 GB, free: 94.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001512/1.447, allocations: 0.8252 MB / 0.7618 GB, free: 93.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000315/1.447, allocations: 145.8 kB / 0.762 GB, free: 93.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002843/1.45, allocations: 2.158 MB / 0.7641 GB, free: 93.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.45, allocations: 0 / 0.7641 GB, free: 93.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007799/1.458, allocations: 1.955 MB / 0.766 GB, free: 93.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].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,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$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_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.fire_n[4],inverter.fire_n[5],inverter.fire_n[6],inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].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,fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].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,fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean2.y_last) * Number of discrete states: 36 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].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,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].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,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007421/1.459, allocations: 376.2 kB / 0.7664 GB, free: 93.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01414/1.473, allocations: 12.54 MB / 0.7786 GB, free: 87.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.473, allocations: 0.7812 kB / 0.7786 GB, free: 87.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006278/1.479, allocations: 4.94 MB / 0.7834 GB, free: 85.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004752/1.484, allocations: 0.8442 MB / 0.7843 GB, free: 85.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/1.502, allocations: 10.39 MB / 0.7944 GB, free: 81.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003432/1.505, allocations: 4.213 MB / 0.7985 GB, free: 80.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006524/1.512, allocations: 2.764 MB / 0.8012 GB, free: 79.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/1.513, allocations: 228.7 kB / 0.8014 GB, free: 79.39 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/1.513, allocations: 0 / 0.8014 GB, free: 79.39 MB / 458.7 MB Notification: Performance of Templates: time 0.3502/1.863, allocations: 88.97 MB / 0.8883 GB, free: 102.9 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_RL/PolyphaseTwoLevel_RL.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches