Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01505/0.01505, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.713/3.713, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001852/0.001851, allocations: 90.92 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006345/0.0006343, allocations: 8 kB / 327 MB, free: 15.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1479, allocations: 47.58 MB / 374.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.01518/0.1632, allocations: 5.31 MB / 379.9 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008267/0.1715, allocations: 1.911 MB / 381.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.1734, allocations: 39.69 kB / 381.8 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.1752, allocations: 230.6 kB / 382.1 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.1789, allocations: 462.6 kB / 382.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.1814, allocations: 291.5 kB / 382.8 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.1929, allocations: 3.981 MB / 386.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.421/0.614, allocations: 3.482 MB / 390.2 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007308/0.6214, allocations: 1.894 MB / 392.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/0.6329, allocations: 2.675 MB / 394.8 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003408/0.6364, allocations: 283.3 kB / 395.1 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/0.6407, allocations: 280.3 kB / 395.4 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005137/0.6459, allocations: 1.265 MB / 396.6 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005115/0.6511, allocations: 1.117 MB / 397.8 MB, free: 8.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01925/0.6704, allocations: 7.909 MB / 405.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6705, allocations: 4 kB / 405.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.6706, allocations: 1.219 kB / 405.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0005013/0.6711, allocations: 0 / 405.7 MB, free: 5.523 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.0401/0.7112, allocations: 6.515 MB / 412.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.7113, allocations: 6.969 kB / 412.2 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/0.7167, allocations: 0.6627 MB / 412.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/0.7402, allocations: 3.917 MB / 416.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/0.7416, allocations: 429.1 kB / 417.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003913/0.7455, allocations: 0.4994 MB / 417.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04534/0.7909, allocations: 7.906 MB / 425.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004693/0.7915, allocations: 19.83 kB / 425.6 MB, free: 7.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003244/0.7948, allocations: 205 kB / 425.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004405/0.7953, allocations: 189.5 kB / 426 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04133/0.8366, allocations: 7.356 MB / 433.4 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1063/0.943, allocations: 21.18 MB / 454.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03571/0.9788, allocations: 8.187 MB / 462.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007977/0.9797, allocations: 69.92 kB / 462.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02105/1.001, allocations: 4.113 MB / 466.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=457): time 1.869e-05/1.001, allocations: 0 / 466.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=458): time 0.1245/1.125, allocations: 19.3 MB / 486.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005558/1.126, allocations: 458 kB / 486.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01763/1.144, allocations: 3.977 MB / 490.6 MB, free: 6.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002129/1.146, allocations: 169.6 kB / 490.8 MB, free: 6.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004635/1.151, allocations: 1.821 MB / 492.6 MB, free: 4.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008341/1.159, allocations: 1.396 MB / 494 MB, free: 3.016 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/1.161, allocations: 92 kB / 494.1 MB, free: 2.926 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0009484/1.162, allocations: 0.4928 MB / 494.6 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02805/1.19, allocations: 2.776 MB / 497.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01769/1.208, allocations: 3.845 MB / 0.4895 GB, free: 11.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/1.225, allocations: 3.225 MB / 0.4926 GB, free: 8.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-05/1.225, allocations: 8 kB / 0.4926 GB, free: 8.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0448/1.27, allocations: 7.901 MB / 0.5003 GB, free: 100 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.007647/1.278, allocations: 10.46 MB / 0.5106 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002076/1.278, allocations: 28 kB / 0.5106 GB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/1.29, allocations: 1.683 MB / 0.5122 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01067/1.3, allocations: 0.8345 MB / 0.513 GB, free: 2.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07116/1.372, allocations: 22.17 MB / 0.5347 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/1.383, allocations: 471.6 kB / 0.5351 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/1.385, allocations: 180 kB / 0.5353 GB, free: 10.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/1.385, allocations: 4 kB / 0.5353 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04111/1.427, allocations: 7.554 MB / 0.5427 GB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/1.427, allocations: 24 kB / 0.5427 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/1.437, allocations: 1.683 MB / 0.5444 GB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/1.447, allocations: 0.776 MB / 0.5451 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.511/1.958, allocations: 22.47 MB / 0.5671 GB, free: 129.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008685/1.967, allocations: 401.8 kB / 0.5674 GB, free: 129.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.969, allocations: 181.2 kB / 0.5676 GB, free: 129.4 MB / 426.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,fundamentalWaveVoltage[6].mean1.y,$PRE.fundamentalWaveVoltage[6].mean2.y,fundamentalWaveVoltage[6].mean2.y,$PRE.fundamentalWaveVoltage[5].mean1.y,fundamentalWaveVoltage[5].mean1.y,$PRE.fundamentalWaveVoltage[5].mean2.y,fundamentalWaveVoltage[5].mean2.y,$PRE.fundamentalWaveVoltage[4].mean1.y,fundamentalWaveVoltage[4].mean1.y,$PRE.fundamentalWaveVoltage[4].mean2.y,fundamentalWaveVoltage[4].mean2.y,$PRE.fundamentalWaveVoltage[3].mean1.y,fundamentalWaveVoltage[3].mean1.y,$PRE.fundamentalWaveVoltage[3].mean2.y,fundamentalWaveVoltage[3].mean2.y,$PRE.fundamentalWaveVoltage[2].mean1.y,fundamentalWaveVoltage[2].mean1.y,$PRE.fundamentalWaveVoltage[2].mean2.y,fundamentalWaveVoltage[2].mean2.y,$PRE.fundamentalWaveVoltage[1].mean1.y,fundamentalWaveVoltage[1].mean1.y,$PRE.fundamentalWaveVoltage[1].mean2.y,fundamentalWaveVoltage[1].mean2.y,$PRE.fundamentalWaveCurrent[6].mean1.y,fundamentalWaveCurrent[6].mean1.y,$PRE.fundamentalWaveCurrent[6].mean2.y,fundamentalWaveCurrent[6].mean2.y,$PRE.fundamentalWaveCurrent[5].mean1.y,fundamentalWaveCurrent[5].mean1.y,$PRE.fundamentalWaveCurrent[5].mean2.y,fundamentalWaveCurrent[5].mean2.y,$PRE.fundamentalWaveCurrent[4].mean1.y,fundamentalWaveCurrent[4].mean1.y,$PRE.fundamentalWaveCurrent[4].mean2.y,fundamentalWaveCurrent[4].mean2.y,$PRE.fundamentalWaveCurrent[3].mean1.y,fundamentalWaveCurrent[3].mean1.y,$PRE.fundamentalWaveCurrent[3].mean2.y,fundamentalWaveCurrent[3].mean2.y,$PRE.fundamentalWaveCurrent[2].mean1.y,fundamentalWaveCurrent[2].mean1.y,$PRE.fundamentalWaveCurrent[2].mean2.y,fundamentalWaveCurrent[2].mean2.y,$PRE.fundamentalWaveCurrent[1].mean1.y,fundamentalWaveCurrent[1].mean1.y,$PRE.fundamentalWaveCurrent[1].mean2.y,fundamentalWaveCurrent[1].mean2.y,$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 (467): * Single equations (assignments): 454 * 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.01162/1.981, allocations: 2.211 MB / 0.5698 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003478/1.984, allocations: 463 kB / 0.5702 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04641/2.031, allocations: 7.851 MB / 0.5779 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.297e-05/2.031, allocations: 47.42 kB / 0.5779 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.127e-05/2.031, allocations: 3.719 kB / 0.5779 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001569/2.031, allocations: 22.81 kB / 0.578 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07434/2.106, allocations: 13.82 MB / 0.5915 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.744e-05/2.106, allocations: 2.625 kB / 0.5915 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009458/2.115, allocations: 0.6253 MB / 0.5921 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01114/2.127, allocations: 1.658 MB / 0.5937 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001908/2.129, allocations: 123.9 kB / 0.5938 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06305/2.192, allocations: 22.06 MB / 0.6154 GB, free: 88.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/2.192, allocations: 4.062 kB / 0.6154 GB, free: 88.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05851/2.25, allocations: 11.73 MB / 0.6268 GB, free: 76.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007383/2.258, allocations: 1.147 MB / 0.6279 GB, free: 75.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00395/2.262, allocations: 163.9 kB / 0.6281 GB, free: 75.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01061/2.272, allocations: 463.4 kB / 0.6285 GB, free: 74.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005387/2.278, allocations: 0.7518 MB / 0.6293 GB, free: 74.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001879/2.28, allocations: 151.9 kB / 0.6294 GB, free: 73.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01111/2.291, allocations: 2.745 MB / 0.6321 GB, free: 71.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.443e-06/2.291, allocations: 0 / 0.6321 GB, free: 71.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0228/2.314, allocations: 2.168 MB / 0.6342 GB, free: 68.99 MB / 426.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,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) * 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.00263/2.317, allocations: 413.8 kB / 0.6346 GB, free: 68.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.05872/2.375, allocations: 13.6 MB / 0.6479 GB, free: 54.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.738e-05/2.376, allocations: 8.531 kB / 0.6479 GB, free: 54.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02499/2.401, allocations: 5.474 MB / 0.6532 GB, free: 49.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/2.414, allocations: 1.017 MB / 0.6542 GB, free: 48.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06513/2.479, allocations: 14.38 MB / 0.6683 GB, free: 33.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01271/2.492, allocations: 4.109 MB / 0.6723 GB, free: 29.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004764/2.497, allocations: 331.3 kB / 0.6726 GB, free: 29.18 MB / 426.7 MB Notification: Performance of SimCode: time 2.224e-06/2.497, allocations: 0 / 0.6726 GB, free: 29.18 MB / 426.7 MB Notification: Performance of Templates: time 1.625/4.122, allocations: 263.6 MB / 0.93 GB, free: 126.2 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/MultiPhaseTwoLevel/MultiPhaseTwoLevel_RL/MultiPhaseTwoLevel_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches