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.002041/0.002041, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.635/2.635, allocations: 205.4 MB / 223.6 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.001412/0.001412, allocations: 94.33 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005006, allocations: 12 kB / 328.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4791, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.6542, allocations: 91.11 MB / 466.8 MB, free: 5.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.6546, allocations: 91.94 kB / 466.9 MB, free: 5.414 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6491/1.304, allocations: 81.72 MB / 0.5358 GB, free: 80.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.809e-06/1.304, allocations: 0 / 0.5358 GB, free: 80.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008152/1.305, allocations: 131.9 kB / 0.5359 GB, free: 80.26 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02875/1.333, allocations: 6.914 MB / 0.5427 GB, free: 73.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/1.334, allocations: 12.03 kB / 0.5427 GB, free: 73.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00502/1.339, allocations: 0.6651 MB / 0.5433 GB, free: 72.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/1.354, allocations: 3.791 MB / 0.547 GB, free: 68.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006723/1.355, allocations: 386 kB / 0.5474 GB, free: 68.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003724/1.359, allocations: 0.5003 MB / 0.5479 GB, free: 67.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03175/1.391, allocations: 7.832 MB / 0.5555 GB, free: 59.69 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004372/1.391, allocations: 16.03 kB / 0.5556 GB, free: 59.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003128/1.394, allocations: 215.9 kB / 0.5558 GB, free: 59.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002472/1.395, allocations: 185.5 kB / 0.5559 GB, free: 59.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0258/1.42, allocations: 7.278 MB / 0.5631 GB, free: 51.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07054/1.491, allocations: 21.51 MB / 0.5841 GB, free: 30.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/1.51, allocations: 8.403 MB / 0.5923 GB, free: 21.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0111/1.522, allocations: 4.044 MB / 0.5962 GB, free: 17.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005818/1.522, allocations: 63.27 kB / 0.5963 GB, free: 17.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01295/1.535, allocations: 4.304 MB / 0.6005 GB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=457): time 1.448e-05/1.535, allocations: 0 / 0.6005 GB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=458): time 0.07874/1.614, allocations: 19.88 MB / 0.6199 GB, free: 9.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005217/1.615, allocations: 463.4 kB / 0.6203 GB, free: 8.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01408/1.629, allocations: 3.976 MB / 0.6242 GB, free: 4.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002506/1.631, allocations: 165.6 kB / 0.6244 GB, free: 4.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004672/1.636, allocations: 2.06 MB / 0.6264 GB, free: 2.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00405/1.64, allocations: 1.398 MB / 0.6278 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/1.641, allocations: 92 kB / 0.6278 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006885/1.642, allocations: 491.8 kB / 0.6283 GB, free: 384 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009977/1.652, allocations: 2.936 MB / 0.6312 GB, free: 13.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01252/1.665, allocations: 4.011 MB / 0.6351 GB, free: 8.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02045/1.685, allocations: 6.772 MB / 0.6417 GB, free: 1.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000126/1.685, allocations: 8 kB / 0.6417 GB, free: 1.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.4592/2.145, allocations: 8.473 MB / 0.65 GB, free: 101.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009918/2.146, allocations: 1.034 MB / 0.651 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-05/2.146, allocations: 25.47 kB / 0.651 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006461/2.152, allocations: 1.722 MB / 0.6527 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006252/2.159, allocations: 0.8265 MB / 0.6535 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03795/2.197, allocations: 22.02 MB / 0.675 GB, free: 89.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00742/2.204, allocations: 473.2 kB / 0.6755 GB, free: 89.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00178/2.206, allocations: 181.3 kB / 0.6756 GB, free: 89.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/2.206, allocations: 2.406 kB / 0.6756 GB, free: 89.5 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02278/2.229, allocations: 7.878 MB / 0.6833 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000249/2.229, allocations: 24.12 kB / 0.6834 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/2.234, allocations: 1.729 MB / 0.6851 GB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005166/2.24, allocations: 0.7613 MB / 0.6858 GB, free: 86.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03305/2.273, allocations: 22.02 MB / 0.7073 GB, free: 70.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006881/2.28, allocations: 403 kB / 0.7077 GB, free: 70.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/2.281, allocations: 177.6 kB / 0.7079 GB, free: 70.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.firstTrigger,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveVoltage[6].mean1.y,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.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.fire_n[4],inverter.fire_n[5],inverter.fire_n[6],inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,$PRE.signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.count,$PRE.signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.count,$PRE.signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.count,$PRE.signalPWM[4].zeroOrderHold.ySample,$PRE.signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.count,$PRE.signalPWM[5].zeroOrderHold.ySample,$PRE.signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.count,$PRE.signalPWM[6].zeroOrderHold.ySample,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (460): * Single equations (assignments): 447 * 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.008509/2.29, allocations: 2.203 MB / 0.71 GB, free: 68.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/2.292, allocations: 459.1 kB / 0.7104 GB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02215/2.314, allocations: 7.977 MB / 0.7182 GB, free: 61.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.894e-05/2.314, allocations: 47.94 kB / 0.7183 GB, free: 61.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/2.314, allocations: 7.938 kB / 0.7183 GB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/2.314, allocations: 20.72 kB / 0.7183 GB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04413/2.359, allocations: 14.33 MB / 0.7323 GB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.049e-05/2.359, allocations: 0 / 0.7323 GB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004448/2.363, allocations: 0.617 MB / 0.7329 GB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005154/2.368, allocations: 1.694 MB / 0.7346 GB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001429/2.37, allocations: 127.9 kB / 0.7347 GB, free: 47.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02989/2.4, allocations: 21.88 MB / 0.756 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.4, allocations: 0 / 0.756 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03299/2.433, allocations: 12.2 MB / 0.768 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005428/2.438, allocations: 1.175 MB / 0.7691 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002998/2.441, allocations: 175.8 kB / 0.7693 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006087/2.447, allocations: 451.5 kB / 0.7697 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003241/2.451, allocations: 0.8224 MB / 0.7705 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001009/2.452, allocations: 143.9 kB / 0.7706 GB, free: 9.926 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006876/2.459, allocations: 2.756 MB / 0.7733 GB, free: 7.191 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.81e-07/2.459, allocations: 0 / 0.7733 GB, free: 7.191 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01725/2.476, allocations: 2.236 MB / 0.7755 GB, free: 4.957 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.fire_n[4],inverter.fire_n[5],inverter.fire_n[6],inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.y,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.002246/2.478, allocations: 417 kB / 0.7759 GB, free: 4.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04139/2.52, allocations: 14.15 MB / 0.7897 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.213e-05/2.52, allocations: 6.656 kB / 0.7897 GB, free: 6.105 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01665/2.536, allocations: 5.679 MB / 0.7953 GB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0117/2.548, allocations: 1.057 MB / 0.7963 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.045/2.593, allocations: 14.48 MB / 0.8105 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.345/2.938, allocations: 4.025 MB / 0.8144 GB, free: 116 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/2.941, allocations: 313.4 kB / 0.8147 GB, free: 116 MB / 442.7 MB Notification: Performance of SimCode: time 1.413e-06/2.941, allocations: 0 / 0.8147 GB, free: 116 MB / 442.7 MB Notification: Performance of Templates: time 0.8686/3.81, allocations: 275.7 MB / 1.084 GB, free: 55.55 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