Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.0009025/0.0009026, allocations: 195.9 kB / 17.38 MB, free: 4.309 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: 226.5 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000767/0.0007671, allocations: 88.14 kB / 296.8 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002032/0.0002033, allocations: 11.98 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1891, allocations: 51.29 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.004562/0.1937, allocations: 5.867 MB / 413.9 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.1966, allocations: 1.94 MB / 415.9 MB, free: 19.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005688/0.1972, allocations: 39.75 kB / 415.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.1975, allocations: 214.4 kB / 416.1 MB, free: 19.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009191/0.1985, allocations: 475.6 kB / 416.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.1991, allocations: 291.6 kB / 416.9 MB, free: 18.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.2029, allocations: 6.506 MB / 423.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003902/0.2068, allocations: 4.626 MB / 428 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.2092, allocations: 1.98 MB / 430 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003289/0.2125, allocations: 2.891 MB / 432.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000748/0.2132, allocations: 284 kB / 433.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.2143, allocations: 288 kB / 433.4 MB, free: 2.188 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008373/0.2151, allocations: 1.339 MB / 434.8 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003123/0.2183, allocations: 2.699 MB / 437.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006766/0.2251, allocations: 8.12 MB / 445.6 MB, free: 5.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2251, allocations: 3.984 kB / 445.6 MB, free: 5.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2251, allocations: 0 / 445.6 MB, free: 5.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.00023/0.2253, allocations: 0 / 445.6 MB, free: 5.98 MB / 314.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.01385/0.2392, allocations: 6.652 MB / 452.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2393, allocations: 8.031 kB / 452.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004583/0.2438, allocations: 1.047 MB / 453.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008411/0.2523, allocations: 4.171 MB / 457.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/0.2528, allocations: 431.3 kB / 457.9 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001548/0.2544, allocations: 0.5155 MB / 458.4 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.2704, allocations: 8.055 MB / 466.5 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.2706, allocations: 15.91 kB / 466.5 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008198/0.2714, allocations: 212 kB / 466.7 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.2716, allocations: 189.7 kB / 466.9 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/0.2868, allocations: 7.442 MB / 474.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03905/0.3259, allocations: 21.59 MB / 495.9 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.3387, allocations: 8.197 MB / 0.4923 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00674/0.3455, allocations: 3.888 MB / 0.4961 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.3458, allocations: 67.25 kB / 0.4962 GB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007411/0.3532, allocations: 4.128 MB / 0.5002 GB, free: 2.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=457): time 7.113e-06/0.3532, allocations: 0 / 0.5002 GB, free: 2.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=458): time 0.2103/0.5636, allocations: 19.48 MB / 0.5192 GB, free: 83.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.5637, allocations: 463.6 kB / 0.5197 GB, free: 82.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/0.5686, allocations: 4.164 MB / 0.5237 GB, free: 78.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007644/0.5694, allocations: 165.6 kB / 0.5239 GB, free: 78.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.5708, allocations: 2.167 MB / 0.526 GB, free: 76.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00151/0.5723, allocations: 1.403 MB / 0.5274 GB, free: 75.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.5726, allocations: 93.03 kB / 0.5274 GB, free: 74.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5728, allocations: 491.9 kB / 0.5279 GB, free: 74.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00405/0.5769, allocations: 2.803 MB / 0.5307 GB, free: 71.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/0.5816, allocations: 3.903 MB / 0.5345 GB, free: 67.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008639/0.5902, allocations: 6.546 MB / 0.5409 GB, free: 60.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.191e-05/0.5903, allocations: 12 kB / 0.5409 GB, free: 60.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01255/0.6028, allocations: 8.288 MB / 0.549 GB, free: 52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004214/0.6033, allocations: 1.042 MB / 0.55 GB, free: 50.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.17e-05/0.6033, allocations: 28 kB / 0.55 GB, free: 50.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003181/0.6065, allocations: 1.73 MB / 0.5517 GB, free: 48.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/0.6095, allocations: 0.8111 MB / 0.5525 GB, free: 47.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/0.6289, allocations: 22.01 MB / 0.574 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/0.6326, allocations: 451.6 kB / 0.5744 GB, free: 24.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/0.6331, allocations: 180 kB / 0.5746 GB, free: 24.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.6331, allocations: 4 kB / 0.5746 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01069/0.6438, allocations: 7.676 MB / 0.5821 GB, free: 16.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.108e-05/0.6439, allocations: 24 kB / 0.5821 GB, free: 16.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003139/0.6471, allocations: 1.728 MB / 0.5838 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.6499, allocations: 0.7486 MB / 0.5845 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/0.6714, allocations: 22.01 MB / 0.606 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/0.6752, allocations: 392 kB / 0.6064 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005175/0.6757, allocations: 176 kB / 0.6066 GB, free: 6.695 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * 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.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].notFire,$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,signalPWM[2].notFire,$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,signalPWM[3].notFire,$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,signalPWM[4].notFire,$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,signalPWM[5].notFire,$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,signalPWM[6].notFire,$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 (461): * Single equations (assignments): 448 * 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.003943/0.6797, allocations: 2.26 MB / 0.6088 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009143/0.6806, allocations: 474.3 kB / 0.6092 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.6948, allocations: 7.906 MB / 0.6169 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/0.6948, allocations: 47.94 kB / 0.617 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6949, allocations: 4 kB / 0.617 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.989e-05/0.6949, allocations: 27.91 kB / 0.617 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02417/0.7191, allocations: 14.01 MB / 0.6307 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.7191, allocations: 4 kB / 0.6307 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/0.7217, allocations: 0.593 MB / 0.6313 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/0.7253, allocations: 1.705 MB / 0.633 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004648/0.7258, allocations: 127.9 kB / 0.6331 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02491/0.7507, allocations: 21.84 MB / 0.6544 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.7508, allocations: 11.81 kB / 0.6544 GB, free: 4.656 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02074/0.7715, allocations: 11.64 MB / 0.6658 GB, free: 8.941 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002825/0.7744, allocations: 1.159 MB / 0.6669 GB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/0.7757, allocations: 163.9 kB / 0.6671 GB, free: 7.598 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/0.7788, allocations: 447.5 kB / 0.6675 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/0.7805, allocations: 0.7483 MB / 0.6682 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004534/0.781, allocations: 151.9 kB / 0.6684 GB, free: 6.262 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004699/0.7857, allocations: 2.879 MB / 0.6712 GB, free: 3.371 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7857, allocations: 0 / 0.6712 GB, free: 3.371 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008401/0.7941, allocations: 2.223 MB / 0.6734 GB, free: 1.148 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.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].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,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,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 (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.001169/0.7953, allocations: 421 kB / 0.6738 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1791/0.9744, allocations: 13.71 MB / 0.6872 GB, free: 148.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.183e-05/0.9745, allocations: 2.656 kB / 0.6872 GB, free: 148.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007676/0.9822, allocations: 5.503 MB / 0.6925 GB, free: 146.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00531/0.9875, allocations: 1.109 MB / 0.6936 GB, free: 145.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.006, allocations: 14.7 MB / 0.708 GB, free: 135.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002992/1.009, allocations: 4.117 MB / 0.712 GB, free: 131.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/1.011, allocations: 327.3 kB / 0.7123 GB, free: 131.6 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/1.011, allocations: 0 / 0.7123 GB, free: 131.6 MB / 458.7 MB Notification: Performance of Templates: time 0.3856/1.397, allocations: 284 MB / 0.9896 GB, free: 25.03 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches