Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.2 MB / 245 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008357/0.0008356, allocations: 106.9 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002259/0.0002261, allocations: 4 kB / 358 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2065, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3083, allocations: 93.86 MB / 0.4915 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.3086, allocations: 91.94 kB / 0.4916 GB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3383/0.6469, allocations: 84.31 MB / 0.5739 GB, free: 36.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6469, allocations: 0 / 0.5739 GB, free: 36.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006281/0.6475, allocations: 143.9 kB / 0.5741 GB, free: 36.23 MB / 378.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.01491/0.6625, allocations: 7.217 MB / 0.5811 GB, free: 28.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.6625, allocations: 8.031 kB / 0.5811 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.6659, allocations: 1.046 MB / 0.5821 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00636/0.6723, allocations: 3.768 MB / 0.5858 GB, free: 23.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/0.6725, allocations: 385.8 kB / 0.5862 GB, free: 23.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006213/0.6731, allocations: 0.5116 MB / 0.5867 GB, free: 23.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009862/0.683, allocations: 7.893 MB / 0.5944 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.304e-05/0.6831, allocations: 15.84 kB / 0.5944 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004455/0.6835, allocations: 216 kB / 0.5946 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.6836, allocations: 193.7 kB / 0.5948 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009717/0.6934, allocations: 7.333 MB / 0.602 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03238/0.7258, allocations: 21.86 MB / 0.6233 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.7371, allocations: 8.403 MB / 0.6315 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.7373, allocations: 67.48 kB / 0.6316 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006251/0.7435, allocations: 4.289 MB / 0.6358 GB, free: 4.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=457): time 8.366e-06/0.7436, allocations: 3.984 kB / 0.6358 GB, free: 4.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=458): time 0.03615/0.7797, allocations: 19.81 MB / 0.6551 GB, free: 68 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/0.78, allocations: 459.3 kB / 0.6556 GB, free: 15.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005955/0.7859, allocations: 3.751 MB / 0.6592 GB, free: 11.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003848/0.7863, allocations: 165.6 kB / 0.6594 GB, free: 11.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001997/0.7883, allocations: 2.155 MB / 0.6615 GB, free: 9.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.7895, allocations: 1.41 MB / 0.6629 GB, free: 7.992 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.7898, allocations: 92 kB / 0.6629 GB, free: 7.902 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.7901, allocations: 491.8 kB / 0.6634 GB, free: 7.414 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/0.7948, allocations: 2.96 MB / 0.6663 GB, free: 4.445 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1839/0.9787, allocations: 4.023 MB / 0.6702 GB, free: 99.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006047/0.9848, allocations: 3.391 MB / 0.6735 GB, free: 99.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/0.9849, allocations: 7.281 kB / 0.6736 GB, free: 99.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01347/0.9984, allocations: 8.511 MB / 0.6819 GB, free: 99.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001713/1, allocations: 11.89 MB / 0.6935 GB, free: 87.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/1, allocations: 25.12 kB / 0.6935 GB, free: 87.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/1.003, allocations: 1.69 MB / 0.6952 GB, free: 87.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002966/1.006, allocations: 0.8324 MB / 0.696 GB, free: 87.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/1.025, allocations: 22.17 MB / 0.7176 GB, free: 76.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/1.029, allocations: 492 kB / 0.7181 GB, free: 76.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/1.029, allocations: 174.3 kB / 0.7182 GB, free: 76.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/1.029, allocations: 3.656 kB / 0.7182 GB, free: 76.7 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01016/1.04, allocations: 7.895 MB / 0.726 GB, free: 73.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-05/1.04, allocations: 24.47 kB / 0.726 GB, free: 73.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/1.043, allocations: 1.697 MB / 0.7276 GB, free: 73.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/1.045, allocations: 0.7735 MB / 0.7284 GB, free: 73.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/1.065, allocations: 22.17 MB / 0.75 GB, free: 58.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/1.069, allocations: 418.3 kB / 0.7504 GB, free: 58.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008329/1.07, allocations: 175.4 kB / 0.7506 GB, free: 58.45 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (466): * Single equations (assignments): 453 * 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%) 12} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.004102/1.074, allocations: 2.256 MB / 0.7528 GB, free: 57.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.075, allocations: 478.7 kB / 0.7533 GB, free: 57.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01257/1.088, allocations: 7.955 MB / 0.761 GB, free: 51.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/1.088, allocations: 44 kB / 0.7611 GB, free: 51.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/1.088, allocations: 4 kB / 0.7611 GB, free: 51.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-05/1.088, allocations: 26.67 kB / 0.7611 GB, free: 51.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/1.109, allocations: 14.33 MB / 0.7751 GB, free: 40.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.109, allocations: 0 / 0.7751 GB, free: 40.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/1.112, allocations: 0.6315 MB / 0.7757 GB, free: 40.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002927/1.115, allocations: 1.646 MB / 0.7773 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003849/1.115, allocations: 138.5 kB / 0.7775 GB, free: 38.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/1.134, allocations: 22.05 MB / 0.799 GB, free: 18.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.134, allocations: 7.969 kB / 0.799 GB, free: 18.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01777/1.152, allocations: 12.29 MB / 0.811 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003198/1.155, allocations: 1.183 MB / 0.8122 GB, free: 5.297 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.157, allocations: 171.8 kB / 0.8123 GB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/1.16, allocations: 471.5 kB / 0.8128 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/1.161, allocations: 0.7971 MB / 0.8135 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004016/1.162, allocations: 151.3 kB / 0.8137 GB, free: 3.727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004503/1.166, allocations: 2.887 MB / 0.8165 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.166, allocations: 0 / 0.8165 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008974/1.175, allocations: 2.265 MB / 0.8187 GB, free: 14.57 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (350): * Single equations (assignments): 295 * 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%) 12} * 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.0008248/1.176, allocations: 434.2 kB / 0.8191 GB, free: 14.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02063/1.197, allocations: 14.14 MB / 0.8329 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.197, allocations: 0.6562 kB / 0.8329 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00813/1.205, allocations: 5.468 MB / 0.8383 GB, free: 10.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/1.209, allocations: 1.038 MB / 0.8393 GB, free: 9.184 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1933/1.403, allocations: 14.82 MB / 0.8538 GB, free: 115.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00492/1.408, allocations: 4.295 MB / 0.858 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005121/1.413, allocations: 2.087 MB / 0.86 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/1.414, allocations: 296.5 kB / 0.8603 GB, free: 114.9 MB / 474.7 MB Notification: Performance of SimCode: time 8.41e-07/1.414, allocations: 0 / 0.8603 GB, free: 114.9 MB / 474.7 MB Notification: Performance of Templates: time 0.1278/1.542, allocations: 96.83 MB / 0.9548 GB, free: 57.95 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches