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.001494/0.001494, allocations: 197.2 kB / 17.05 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 226.6 MB / 244.3 MB, free: 6.547 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007345/0.0007347, allocations: 101.6 kB / 296.4 MB, free: 6.75 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002532, allocations: 8 kB / 356.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2513, allocations: 51.3 MB / 407.5 MB, free: 27.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.005011/0.2564, allocations: 5.861 MB / 413.4 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.2599, allocations: 1.946 MB / 415.3 MB, free: 19.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008513/0.2607, allocations: 39.75 kB / 415.4 MB, free: 19.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004653/0.2612, allocations: 218.4 kB / 415.6 MB, free: 19.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.2626, allocations: 471.2 kB / 416 MB, free: 19.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009807/0.2636, allocations: 295 kB / 416.3 MB, free: 18.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0044/0.268, allocations: 6.439 MB / 422.8 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003182/0.2712, allocations: 3.612 MB / 426.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.2741, allocations: 1.988 MB / 428.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003431/0.2775, allocations: 2.894 MB / 431.3 MB, free: 3.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006617/0.2782, allocations: 280 kB / 431.5 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008785/0.2791, allocations: 300 kB / 431.8 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000776/0.2799, allocations: 1.327 MB / 433.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001318/0.2812, allocations: 1.139 MB / 434.3 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007288/0.2885, allocations: 8.12 MB / 442.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2885, allocations: 0 / 442.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2885, allocations: 0 / 442.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003057/0.2888, allocations: 0 / 442.4 MB, free: 8.723 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.0157/0.3046, allocations: 6.707 MB / 449.1 MB, free: 1.832 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3046, allocations: 8.031 kB / 449.1 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005386/0.31, allocations: 1.046 MB / 450.2 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009813/0.3198, allocations: 4.036 MB / 454.2 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000567/0.3205, allocations: 430.7 kB / 454.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001832/0.3223, allocations: 0.5155 MB / 455.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.3404, allocations: 8.07 MB / 463.2 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.3406, allocations: 7.906 kB / 463.2 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005246/0.3411, allocations: 219.9 kB / 463.4 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/0.3413, allocations: 185.7 kB / 463.6 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01465/0.3559, allocations: 7.438 MB / 471.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04151/0.3975, allocations: 21.58 MB / 492.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.4109, allocations: 8.2 MB / 0.4891 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007907/0.4189, allocations: 3.892 MB / 0.4929 GB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.4192, allocations: 67.25 kB / 0.493 GB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008353/0.4276, allocations: 4.124 MB / 0.497 GB, free: 5.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=457): time 9.438e-06/0.4276, allocations: 0 / 0.497 GB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=458): time 0.2126/0.6403, allocations: 19.42 MB / 0.516 GB, free: 83.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/0.6404, allocations: 464.8 kB / 0.5164 GB, free: 82.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.6452, allocations: 4.166 MB / 0.5205 GB, free: 80.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006252/0.6458, allocations: 171.8 kB / 0.5206 GB, free: 80.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.6473, allocations: 2.163 MB / 0.5227 GB, free: 78.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001245/0.6485, allocations: 1.397 MB / 0.5241 GB, free: 77.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.6488, allocations: 91.53 kB / 0.5242 GB, free: 77.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.649, allocations: 0.491 MB / 0.5247 GB, free: 77.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003966/0.6529, allocations: 2.803 MB / 0.5274 GB, free: 74.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005097/0.658, allocations: 3.895 MB / 0.5312 GB, free: 70.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00465/0.6627, allocations: 3.267 MB / 0.5344 GB, free: 66.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.6628, allocations: 8 kB / 0.5344 GB, free: 66.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01197/0.6747, allocations: 8.291 MB / 0.5425 GB, free: 58.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003488/0.6751, allocations: 1.03 MB / 0.5435 GB, free: 57.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.6752, allocations: 28 kB / 0.5435 GB, free: 57.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.6781, allocations: 1.736 MB / 0.5452 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002791/0.6809, allocations: 0.812 MB / 0.546 GB, free: 54.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/0.6991, allocations: 22.01 MB / 0.5675 GB, free: 31.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/0.7031, allocations: 451.6 kB / 0.568 GB, free: 31.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/0.7036, allocations: 183.9 kB / 0.5681 GB, free: 30.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.7036, allocations: 4 kB / 0.5681 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01017/0.7138, allocations: 7.671 MB / 0.5756 GB, free: 23.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.772e-05/0.7139, allocations: 24 kB / 0.5756 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/0.7169, allocations: 1.732 MB / 0.5773 GB, free: 21.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002585/0.7195, allocations: 0.7448 MB / 0.5781 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/0.7387, allocations: 22.01 MB / 0.5996 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/0.7433, allocations: 399.7 kB / 0.5999 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008174/0.7442, allocations: 176 kB / 0.6001 GB, free: 13.24 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.004994/0.7492, allocations: 2.252 MB / 0.6023 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/0.7505, allocations: 474.3 kB / 0.6028 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.7644, allocations: 7.914 MB / 0.6105 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.58e-05/0.7645, allocations: 44 kB / 0.6105 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.7645, allocations: 8 kB / 0.6105 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.085e-05/0.7646, allocations: 19.92 kB / 0.6106 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0239/0.7885, allocations: 14.01 MB / 0.6242 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.7885, allocations: 0 / 0.6242 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/0.7911, allocations: 0.6008 MB / 0.6248 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003409/0.7945, allocations: 1.698 MB / 0.6265 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005195/0.7951, allocations: 119.9 kB / 0.6266 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0233/0.8184, allocations: 21.84 MB / 0.6479 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8184, allocations: 4.031 kB / 0.6479 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01909/0.8375, allocations: 11.66 MB / 0.6593 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00265/0.8402, allocations: 1.151 MB / 0.6604 GB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008267/0.841, allocations: 167.9 kB / 0.6606 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/0.8437, allocations: 443.5 kB / 0.661 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001422/0.8451, allocations: 0.7522 MB / 0.6618 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/0.8454, allocations: 147.9 kB / 0.6619 GB, free: 12.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004205/0.8496, allocations: 2.879 MB / 0.6647 GB, free: 9.938 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8496, allocations: 0 / 0.6647 GB, free: 9.938 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00764/0.8573, allocations: 2.223 MB / 0.6669 GB, free: 7.715 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.0007097/0.858, allocations: 428.9 kB / 0.6673 GB, free: 7.281 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.185/1.043, allocations: 13.71 MB / 0.6807 GB, free: 148 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.213e-05/1.043, allocations: 6.625 kB / 0.6807 GB, free: 148 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007839/1.051, allocations: 5.51 MB / 0.6861 GB, free: 147 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/1.055, allocations: 1.12 MB / 0.6872 GB, free: 147 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/1.074, allocations: 14.69 MB / 0.7015 GB, free: 140.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/1.077, allocations: 4.118 MB / 0.7055 GB, free: 137.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/1.079, allocations: 329.3 kB / 0.7058 GB, free: 137.1 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/1.079, allocations: 3.938 kB / 0.7058 GB, free: 137.1 MB / 458.7 MB Notification: Performance of Templates: time 0.4007/1.48, allocations: 284.1 MB / 0.9833 GB, free: 32.89 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