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.0008848/0.0008849, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007687/0.0007686, allocations: 100.5 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004149, allocations: 8 kB / 327.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2449, allocations: 47.56 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.005037/0.25, allocations: 5.64 MB / 380.7 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.2535, allocations: 1.856 MB / 382.6 MB, free: 39.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007231/0.2543, allocations: 35.91 kB / 382.6 MB, free: 39.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004421/0.2548, allocations: 208.8 kB / 382.8 MB, free: 39.31 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.2559, allocations: 460.4 kB / 383.3 MB, free: 38.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000718/0.2567, allocations: 296.6 kB / 383.6 MB, free: 38.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004852/0.2615, allocations: 6.394 MB / 390 MB, free: 33.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003892/0.2655, allocations: 4.475 MB / 394.4 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.2681, allocations: 1.945 MB / 396.4 MB, free: 27.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.2716, allocations: 2.852 MB / 399.2 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008208/0.2725, allocations: 284 kB / 399.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.2737, allocations: 280 kB / 399.8 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008498/0.2745, allocations: 1.316 MB / 401.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.2773, allocations: 2.641 MB / 403.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005029/0.2824, allocations: 7.945 MB / 411.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.2824, allocations: 0 / 411.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2824, allocations: 0 / 411.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003744/0.2828, allocations: 0 / 411.7 MB, free: 11.93 MB / 298.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.01438/0.2972, allocations: 6.472 MB / 418.2 MB, free: 5.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2973, allocations: 12.03 kB / 418.2 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.2993, allocations: 0.6612 MB / 418.8 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007904/0.3073, allocations: 4.048 MB / 422.9 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000404/0.3077, allocations: 419.1 kB / 423.3 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.3093, allocations: 0.5076 MB / 423.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.3263, allocations: 7.938 MB / 431.7 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001588/0.3265, allocations: 19.84 kB / 431.8 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008779/0.3274, allocations: 208 kB / 432 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.3276, allocations: 185.5 kB / 432.1 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.3435, allocations: 7.359 MB / 439.5 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/0.3855, allocations: 21.18 MB / 460.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.3988, allocations: 8.184 MB / 468.9 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006711/0.4055, allocations: 3.887 MB / 472.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.4058, allocations: 67.25 kB / 472.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00705/0.4129, allocations: 4.127 MB / 477 MB, free: 9.773 MB / 362.7 MB Notification: Performance of pre-optimization done (n=457): time 8.095e-06/0.4129, allocations: 4 kB / 477 MB, free: 9.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=458): time 0.0445/0.4574, allocations: 19.41 MB / 496.4 MB, free: 6.141 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003106/0.4578, allocations: 467.4 kB / 496.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006277/0.4641, allocations: 3.98 MB / 0.4891 GB, free: 1.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001146/0.4653, allocations: 165.6 kB / 0.4892 GB, free: 1.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1627/0.628, allocations: 2.065 MB / 0.4912 GB, free: 106.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001783/0.6298, allocations: 1.397 MB / 0.4926 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006195/0.6304, allocations: 94.81 kB / 0.4927 GB, free: 106.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003105/0.6308, allocations: 496.5 kB / 0.4932 GB, free: 106.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005226/0.636, allocations: 2.769 MB / 0.4959 GB, free: 105.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006366/0.6424, allocations: 3.869 MB / 0.4997 GB, free: 103.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.6531, allocations: 6.513 MB / 0.506 GB, free: 100.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-05/0.6531, allocations: 8.797 kB / 0.506 GB, free: 100.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01564/0.6688, allocations: 8.2 MB / 0.514 GB, free: 93.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004486/0.6693, allocations: 1.041 MB / 0.515 GB, free: 92.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-05/0.6694, allocations: 28 kB / 0.5151 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003446/0.6728, allocations: 1.731 MB / 0.5168 GB, free: 90.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/0.6761, allocations: 0.819 MB / 0.5176 GB, free: 89.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/0.6964, allocations: 22.02 MB / 0.5391 GB, free: 66.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/0.7006, allocations: 467.6 kB / 0.5395 GB, free: 66.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009532/0.7016, allocations: 180 kB / 0.5397 GB, free: 66.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.7016, allocations: 4 kB / 0.5397 GB, free: 66.09 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01329/0.7149, allocations: 7.589 MB / 0.5471 GB, free: 58.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.119e-05/0.715, allocations: 32.03 kB / 0.5471 GB, free: 58.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/0.7184, allocations: 1.724 MB / 0.5488 GB, free: 56.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/0.7216, allocations: 0.7605 MB / 0.5496 GB, free: 55.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/0.7414, allocations: 22 MB / 0.571 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/0.7454, allocations: 399.7 kB / 0.5714 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007303/0.7461, allocations: 176 kB / 0.5716 GB, free: 32.38 MB / 378.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 (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.003876/0.75, allocations: 2.212 MB / 0.5738 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008793/0.7509, allocations: 466.4 kB / 0.5742 GB, free: 29.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.7628, allocations: 7.886 MB / 0.5819 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/0.7629, allocations: 44 kB / 0.5819 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.7629, allocations: 7.922 kB / 0.5819 GB, free: 21.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.642e-05/0.763, allocations: 19.92 kB / 0.582 GB, free: 21.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/0.7843, allocations: 13.91 MB / 0.5955 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.7843, allocations: 3.938 kB / 0.5956 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/0.7868, allocations: 0.6203 MB / 0.5962 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003169/0.79, allocations: 1.688 MB / 0.5978 GB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006813/0.7907, allocations: 127.9 kB / 0.5979 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0235/0.8143, allocations: 21.87 MB / 0.6193 GB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8143, allocations: 4.031 kB / 0.6193 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0209/0.8352, allocations: 11.63 MB / 0.6306 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003539/0.8388, allocations: 1.14 MB / 0.6318 GB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/0.8403, allocations: 163.8 kB / 0.6319 GB, free: 1.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003269/0.8435, allocations: 459.5 kB / 0.6324 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00177/0.8453, allocations: 0.7561 MB / 0.6331 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004087/0.8458, allocations: 147.9 kB / 0.6332 GB, free: 112 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004647/0.8504, allocations: 2.749 MB / 0.6359 GB, free: 13.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.8504, allocations: 4 kB / 0.6359 GB, free: 13.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009089/0.8595, allocations: 2.195 MB / 0.6381 GB, free: 11.18 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 (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.00107/0.8606, allocations: 419.9 kB / 0.6385 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1738/1.034, allocations: 13.65 MB / 0.6518 GB, free: 135.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.289e-05/1.034, allocations: 2.656 kB / 0.6518 GB, free: 135.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00912/1.044, allocations: 5.492 MB / 0.6572 GB, free: 134.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005951/1.05, allocations: 1.072 MB / 0.6582 GB, free: 134.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/1.073, allocations: 14.4 MB / 0.6723 GB, free: 129.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/1.076, allocations: 4.019 MB / 0.6762 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/1.078, allocations: 326.6 kB / 0.6765 GB, free: 127.8 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/1.078, allocations: 0 / 0.6765 GB, free: 127.8 MB / 426.7 MB Notification: Performance of Templates: time 0.3901/1.468, allocations: 275.6 MB / 0.9456 GB, free: 22.23 MB / 442.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/jenkins/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