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.002101/0.0021, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.96/1.96, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001138/0.001138, allocations: 86.94 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003877, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3251, allocations: 47.56 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4668, allocations: 90.98 MB / 465.5 MB, free: 5.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.4672, allocations: 91.95 kB / 465.6 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5859/1.053, allocations: 81.7 MB / 0.5345 GB, free: 80.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.399e-06/1.053, allocations: 0 / 0.5345 GB, free: 80.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005634/1.054, allocations: 139.9 kB / 0.5346 GB, free: 80.64 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.02456/1.078, allocations: 6.965 MB / 0.5414 GB, free: 73.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.078, allocations: 12.03 kB / 0.5414 GB, free: 73.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003231/1.082, allocations: 0.6603 MB / 0.5421 GB, free: 72.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/1.093, allocations: 3.671 MB / 0.5457 GB, free: 69.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004436/1.094, allocations: 381.6 kB / 0.546 GB, free: 68.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002209/1.096, allocations: 0.4999 MB / 0.5465 GB, free: 68.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/1.12, allocations: 7.793 MB / 0.5541 GB, free: 60.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002418/1.12, allocations: 23.83 kB / 0.5542 GB, free: 60.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/1.122, allocations: 208 kB / 0.5544 GB, free: 59.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/1.122, allocations: 185.5 kB / 0.5545 GB, free: 59.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02357/1.145, allocations: 7.278 MB / 0.5616 GB, free: 52.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0584/1.204, allocations: 21.5 MB / 0.5826 GB, free: 30.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/1.223, allocations: 8.4 MB / 0.5908 GB, free: 22.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/1.224, allocations: 63.27 kB / 0.5909 GB, free: 22.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01195/1.236, allocations: 4.292 MB / 0.5951 GB, free: 17.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=457): time 9.228e-06/1.236, allocations: 0 / 0.5951 GB, free: 17.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=458): time 0.06885/1.305, allocations: 19.76 MB / 0.6144 GB, free: 13.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003919/1.305, allocations: 463.4 kB / 0.6148 GB, free: 13.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009184/1.314, allocations: 3.563 MB / 0.6183 GB, free: 9.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00131/1.316, allocations: 169.6 kB / 0.6185 GB, free: 9.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002643/1.318, allocations: 1.801 MB / 0.6202 GB, free: 7.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002679/1.321, allocations: 1.395 MB / 0.6216 GB, free: 6.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/1.322, allocations: 92 kB / 0.6217 GB, free: 6.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004613/1.322, allocations: 0.4889 MB / 0.6222 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009994/1.332, allocations: 2.932 MB / 0.625 GB, free: 2.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01196/1.344, allocations: 3.992 MB / 0.6289 GB, free: 14.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.356, allocations: 3.356 MB / 0.6322 GB, free: 10.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.171e-05/1.356, allocations: 12 kB / 0.6322 GB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.02831/1.384, allocations: 8.174 MB / 0.6402 GB, free: 2.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.2888/1.673, allocations: 10.37 MB / 0.6503 GB, free: 95.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.294e-05/1.673, allocations: 28 kB / 0.6504 GB, free: 95.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/1.679, allocations: 1.676 MB / 0.652 GB, free: 95.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006401/1.685, allocations: 0.8426 MB / 0.6528 GB, free: 95.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03624/1.722, allocations: 22.17 MB / 0.6745 GB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006559/1.728, allocations: 478.2 kB / 0.6749 GB, free: 85.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007363/1.729, allocations: 178.6 kB / 0.6751 GB, free: 85.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/1.729, allocations: 3.375 kB / 0.6751 GB, free: 85.83 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02033/1.75, allocations: 7.835 MB / 0.6827 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/1.75, allocations: 28.11 kB / 0.6828 GB, free: 83.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/1.755, allocations: 1.678 MB / 0.6844 GB, free: 82.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006052/1.761, allocations: 0.7672 MB / 0.6852 GB, free: 82.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03437/1.795, allocations: 22.48 MB / 0.7071 GB, free: 67.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005009/1.801, allocations: 409.9 kB / 0.7075 GB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009143/1.802, allocations: 177 kB / 0.7077 GB, free: 67.61 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 (466): * Single equations (assignments): 453 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.005639/1.807, allocations: 2.209 MB / 0.7098 GB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.809, allocations: 460.6 kB / 0.7103 GB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02489/1.833, allocations: 7.939 MB / 0.718 GB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.412e-05/1.834, allocations: 47.25 kB / 0.7181 GB, free: 61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.645e-05/1.834, allocations: 4 kB / 0.7181 GB, free: 61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000115/1.834, allocations: 21.7 kB / 0.7181 GB, free: 61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04186/1.876, allocations: 14.24 MB / 0.732 GB, free: 49.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/1.876, allocations: 7.953 kB / 0.732 GB, free: 49.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005825/1.881, allocations: 0.6274 MB / 0.7326 GB, free: 49.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006069/1.888, allocations: 1.655 MB / 0.7342 GB, free: 47.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/1.889, allocations: 130.9 kB / 0.7344 GB, free: 47.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0355/1.924, allocations: 22.05 MB / 0.7559 GB, free: 25.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.924, allocations: 7.984 kB / 0.7559 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03436/1.959, allocations: 12.29 MB / 0.7679 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004337/1.963, allocations: 1.171 MB / 0.769 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002115/1.965, allocations: 163.9 kB / 0.7692 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00637/1.972, allocations: 459.5 kB / 0.7696 GB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003231/1.975, allocations: 0.8301 MB / 0.7704 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006744/1.976, allocations: 139.9 kB / 0.7706 GB, free: 10.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005853/1.982, allocations: 2.757 MB / 0.7733 GB, free: 7.273 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.982, allocations: 0 / 0.7733 GB, free: 7.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0115/1.993, allocations: 2.198 MB / 0.7754 GB, free: 5.078 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 (350): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/1.995, allocations: 435.8 kB / 0.7758 GB, free: 4.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03902/2.034, allocations: 14.1 MB / 0.7896 GB, free: 6.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.596e-05/2.034, allocations: 6.656 kB / 0.7896 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01692/2.051, allocations: 5.644 MB / 0.7951 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007571/2.058, allocations: 0.9933 MB / 0.7961 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04029/2.099, allocations: 14.5 MB / 0.8102 GB, free: 1.109 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2985/2.397, allocations: 4.117 MB / 0.8143 GB, free: 117.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002461/2.4, allocations: 312.2 kB / 0.8146 GB, free: 117.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/2.4, allocations: 0 / 0.8146 GB, free: 117.7 MB / 442.7 MB Notification: Performance of Templates: time 0.7032/3.103, allocations: 263.8 MB / 1.072 GB, free: 65.78 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