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.00211/0.00211, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 92.98 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/1.995e-05, allocations: 0 / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 47.57 MB / 362.4 MB, free: 45.79 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.4723, allocations: 90.23 MB / 452.6 MB, free: 12.06 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.4727, allocations: 86.98 kB / 452.7 MB, free: 11.98 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6117/1.084, allocations: 81.05 MB / 0.5212 GB, free: 89.83 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.585e-06/1.085, allocations: 0 / 0.5212 GB, free: 89.83 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0006511/1.085, allocations: 136.8 kB / 0.5213 GB, free: 89.81 MB / 395.1 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.0233/1.108, allocations: 6.348 MB / 0.5275 GB, free: 86.86 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.109, allocations: 7.625 kB / 0.5275 GB, free: 86.86 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/1.112, allocations: 0.6604 MB / 0.5282 GB, free: 86.53 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/1.124, allocations: 3.648 MB / 0.5318 GB, free: 85.79 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/1.124, allocations: 168.8 kB / 0.5319 GB, free: 85.79 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/1.126, allocations: 318.6 kB / 0.5322 GB, free: 85.78 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01753/1.144, allocations: 6.176 MB / 0.5382 GB, free: 85.74 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/1.166, allocations: 6.668 MB / 0.5448 GB, free: 83.15 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003071/1.166, allocations: 11.78 kB / 0.5448 GB, free: 83.15 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001855/1.168, allocations: 26.95 kB / 0.5448 GB, free: 83.14 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/1.168, allocations: 180.2 kB / 0.545 GB, free: 83.12 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06069/1.229, allocations: 20.5 MB / 0.565 GB, free: 73.57 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/1.243, allocations: 7.442 MB / 0.5723 GB, free: 66.95 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008151/1.252, allocations: 3.519 MB / 0.5757 GB, free: 63.9 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/1.252, allocations: 69.03 kB / 0.5758 GB, free: 63.85 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009533/1.262, allocations: 3.741 MB / 0.5794 GB, free: 60.43 MB / 395.1 MB Notification: Performance of pre-optimization done (n=457): time 1.061e-05/1.262, allocations: 0 / 0.5794 GB, free: 60.43 MB / 395.1 MB Notification: Performance of matching and sorting (n=458): time 0.03479/1.297, allocations: 12.28 MB / 0.5914 GB, free: 48.04 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002278/1.297, allocations: 463.1 kB / 0.5919 GB, free: 47.5 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006704/1.304, allocations: 2.892 MB / 0.5947 GB, free: 44.61 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.305, allocations: 77.64 kB / 0.5947 GB, free: 44.53 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.307, allocations: 1.823 MB / 0.5965 GB, free: 42.7 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00227/1.31, allocations: 1.344 MB / 0.5978 GB, free: 41.36 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005939/1.31, allocations: 4 kB / 0.5978 GB, free: 41.35 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0004573/1.311, allocations: 0.4889 MB / 0.5983 GB, free: 40.85 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006015/1.317, allocations: 2.434 MB / 0.6007 GB, free: 38.41 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00734/1.324, allocations: 3.472 MB / 0.6041 GB, free: 34.53 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006625/1.331, allocations: 2.71 MB / 0.6067 GB, free: 31.81 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.437e-05/1.331, allocations: 8 kB / 0.6067 GB, free: 31.8 MB / 395.1 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01797/1.349, allocations: 6.774 MB / 0.6134 GB, free: 24.98 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002231/1.351, allocations: 10.38 MB / 0.6235 GB, free: 13.76 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/1.351, allocations: 24 kB / 0.6235 GB, free: 13.74 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00575/1.357, allocations: 1.692 MB / 0.6252 GB, free: 12.03 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006488/1.364, allocations: 0.8306 MB / 0.626 GB, free: 11.2 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03555/1.399, allocations: 21.28 MB / 0.6468 GB, free: 5.129 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006926/1.406, allocations: 387.6 kB / 0.6471 GB, free: 4.75 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.408, allocations: 176 kB / 0.6473 GB, free: 4.578 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.408, allocations: 8 kB / 0.6473 GB, free: 4.57 MB / 411.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3358/1.743, allocations: 6.589 MB / 0.6537 GB, free: 91.6 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/1.744, allocations: 25.91 kB / 0.6538 GB, free: 91.6 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/1.749, allocations: 1.688 MB / 0.6554 GB, free: 91.54 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006358/1.756, allocations: 0.7554 MB / 0.6562 GB, free: 91.54 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0354/1.791, allocations: 21.51 MB / 0.6772 GB, free: 82.74 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/1.797, allocations: 315.6 kB / 0.6775 GB, free: 82.74 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.798, allocations: 179.8 kB / 0.6776 GB, free: 82.74 MB / 411.1 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 () * 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.002084/1.8, allocations: 373.3 kB / 0.678 GB, free: 82.6 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00135/1.802, allocations: 424.6 kB / 0.6784 GB, free: 82.6 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/1.82, allocations: 6.744 MB / 0.685 GB, free: 81.63 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-05/1.82, allocations: 45.53 kB / 0.685 GB, free: 81.63 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.82, allocations: 7.828 kB / 0.685 GB, free: 81.63 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000111/1.82, allocations: 19.97 kB / 0.6851 GB, free: 81.63 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03586/1.856, allocations: 12.53 MB / 0.6973 GB, free: 77.29 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-05/1.856, allocations: 0 / 0.6973 GB, free: 77.29 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005689/1.862, allocations: 0.6166 MB / 0.6979 GB, free: 77.27 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005619/1.868, allocations: 1.657 MB / 0.6995 GB, free: 76.73 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001168/1.869, allocations: 80.36 kB / 0.6996 GB, free: 76.71 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03268/1.902, allocations: 21.19 MB / 0.7203 GB, free: 62.84 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/1.902, allocations: 3.625 kB / 0.7203 GB, free: 62.84 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02594/1.928, allocations: 10.7 MB / 0.7307 GB, free: 58.73 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004609/1.932, allocations: 1.118 MB / 0.7318 GB, free: 57.73 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002332/1.935, allocations: 105.8 kB / 0.7319 GB, free: 57.65 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00678/1.942, allocations: 390.5 kB / 0.7323 GB, free: 57.41 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003453/1.945, allocations: 0.8231 MB / 0.7331 GB, free: 56.94 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009284/1.946, allocations: 148.7 kB / 0.7332 GB, free: 56.82 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.005099/1.951, allocations: 2.173 MB / 0.7354 GB, free: 54.96 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.122e-06/1.951, allocations: 0.6562 kB / 0.7354 GB, free: 54.96 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.01356/1.965, allocations: 1.921 MB / 0.7372 GB, free: 53.05 MB / 411.1 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) * 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.001688/1.967, allocations: 359.5 kB / 0.7376 GB, free: 52.79 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.02779/1.994, allocations: 12.46 MB / 0.7498 GB, free: 41.73 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.468e-05/1.994, allocations: 2.781 kB / 0.7498 GB, free: 41.73 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01205/2.006, allocations: 5.052 MB / 0.7547 GB, free: 37.36 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007443/2.014, allocations: 0.8479 MB / 0.7555 GB, free: 36.75 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03191/2.046, allocations: 10.34 MB / 0.7656 GB, free: 27.26 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007119/2.053, allocations: 4.12 MB / 0.7696 GB, free: 23.13 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002453/2.056, allocations: 291.3 kB / 0.7699 GB, free: 22.84 MB / 411.1 MB Notification: Performance of SimCode: time 1.413e-06/2.056, allocations: 0 / 0.7699 GB, free: 22.84 MB / 411.1 MB Notification: Performance of Templates: time 0.9959/3.052, allocations: 260.4 MB / 1.024 GB, free: 111 MB / 459.1 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