Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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|currentSensor.i.1.|currentSensor.i.2.|currentSensor.i.3.|voltageSensor.v.1.|voltageSensor.v.2.|voltageSensor.v.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009667/0.0009666, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.3 MB / 235.5 MB, free: 2.902 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008325/0.0008325, allocations: 95.81 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.533e-05, allocations: 4 kB / 343.9 MB, free: 4.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 50.41 MB / 394.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/0.4189, allocations: 91.8 MB / 486.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/0.4191, allocations: 91.77 kB / 486.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.412/0.8311, allocations: 83.5 MB / 0.5563 GB, free: 89.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.8311, allocations: 5.188 kB / 0.5563 GB, free: 89.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004971/0.8316, allocations: 139.4 kB / 0.5564 GB, free: 89.62 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.01748/0.8491, allocations: 6.432 MB / 0.5627 GB, free: 86.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8492, allocations: 9.812 kB / 0.5627 GB, free: 86.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002929/0.8521, allocations: 0.6631 MB / 0.5634 GB, free: 86.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009312/0.8614, allocations: 3.647 MB / 0.5669 GB, free: 85.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003702/0.8618, allocations: 390.5 kB / 0.5673 GB, free: 85.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.8635, allocations: 0.5168 MB / 0.5678 GB, free: 85.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.8786, allocations: 7.434 MB / 0.5751 GB, free: 85.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.8787, allocations: 13.62 kB / 0.5751 GB, free: 85.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005754/0.8793, allocations: 215.6 kB / 0.5753 GB, free: 85.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.8795, allocations: 186.3 kB / 0.5755 GB, free: 85.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.8895, allocations: 6.499 MB / 0.5818 GB, free: 85.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/0.9263, allocations: 21.67 MB / 0.603 GB, free: 76.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00797/0.9343, allocations: 7.648 MB / 0.6104 GB, free: 73.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004579/0.9389, allocations: 3.625 MB / 0.614 GB, free: 72.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002183/0.9391, allocations: 70.81 kB / 0.6141 GB, free: 72.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004764/0.9439, allocations: 3.88 MB / 0.6178 GB, free: 70.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=457): time 5.911e-06/0.9439, allocations: 0 / 0.6178 GB, free: 70.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=458): time 0.01885/0.9628, allocations: 12.98 MB / 0.6305 GB, free: 63.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.963, allocations: 465.6 kB / 0.631 GB, free: 62.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/0.9673, allocations: 3.499 MB / 0.6344 GB, free: 59.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006481/0.968, allocations: 171.8 kB / 0.6345 GB, free: 59.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.9694, allocations: 2.083 MB / 0.6366 GB, free: 57.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.9705, allocations: 1.4 MB / 0.6379 GB, free: 56.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.9708, allocations: 92 kB / 0.638 GB, free: 56.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.9709, allocations: 497 kB / 0.6385 GB, free: 56.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/0.974, allocations: 2.516 MB / 0.641 GB, free: 53.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003488/0.9775, allocations: 3.591 MB / 0.6445 GB, free: 50.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.9807, allocations: 2.954 MB / 0.6474 GB, free: 47.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.9807, allocations: 8 kB / 0.6474 GB, free: 47.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.009559/0.9903, allocations: 7.643 MB / 0.6548 GB, free: 41.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001731/0.9921, allocations: 11.76 MB / 0.6663 GB, free: 28.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.882e-05/0.9921, allocations: 28 kB / 0.6663 GB, free: 28.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/0.9952, allocations: 1.709 MB / 0.668 GB, free: 27.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003186/0.9984, allocations: 0.8275 MB / 0.6688 GB, free: 26.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/1.017, allocations: 21.96 MB / 0.6903 GB, free: 5.785 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005068/1.023, allocations: 467.6 kB / 0.6907 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007359/1.023, allocations: 180 kB / 0.6909 GB, free: 5.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/1.023, allocations: 4 kB / 0.6909 GB, free: 5.148 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0099/1.033, allocations: 7.304 MB / 0.698 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-05/1.033, allocations: 31.88 kB / 0.698 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003416/1.037, allocations: 1.721 MB / 0.6997 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003067/1.04, allocations: 0.7526 MB / 0.7005 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2329/1.273, allocations: 21.94 MB / 0.7219 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004304/1.277, allocations: 403.4 kB / 0.7223 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007625/1.278, allocations: 178.8 kB / 0.7224 GB, free: 86.48 MB / 442.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_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean2.y_last,$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.001154/1.279, allocations: 0.5213 MB / 0.7229 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009418/1.28, allocations: 460.3 kB / 0.7234 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.292, allocations: 7.169 MB / 0.7304 GB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/1.292, allocations: 43.34 kB / 0.7304 GB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.292, allocations: 6.812 kB / 0.7304 GB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.549e-05/1.292, allocations: 18.8 kB / 0.7305 GB, free: 86.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/1.313, allocations: 13.54 MB / 0.7437 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/1.313, allocations: 3.969 kB / 0.7437 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002572/1.316, allocations: 0.611 MB / 0.7443 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/1.319, allocations: 1.699 MB / 0.7459 GB, free: 85.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006229/1.32, allocations: 122.4 kB / 0.7461 GB, free: 85.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0191/1.339, allocations: 21.82 MB / 0.7674 GB, free: 71.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.339, allocations: 0 / 0.7674 GB, free: 71.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/1.354, allocations: 11.1 MB / 0.7782 GB, free: 67.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003437/1.358, allocations: 1.173 MB / 0.7793 GB, free: 66.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/1.359, allocations: 162.8 kB / 0.7795 GB, free: 66.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003464/1.362, allocations: 460.6 kB / 0.7799 GB, free: 66.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001746/1.364, allocations: 0.8204 MB / 0.7807 GB, free: 66.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003611/1.365, allocations: 144.2 kB / 0.7809 GB, free: 66.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003744/1.368, allocations: 2.699 MB / 0.7835 GB, free: 65.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.368, allocations: 3.625 kB / 0.7835 GB, free: 65.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009725/1.378, allocations: 2.244 MB / 0.7857 GB, free: 65.26 MB / 442.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_last,fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean2.y_last) * 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.0008458/1.379, allocations: 434.5 kB / 0.7861 GB, free: 65.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0159/1.395, allocations: 13.1 MB / 0.7989 GB, free: 58.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.395, allocations: 7.5 kB / 0.7989 GB, free: 58.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007391/1.402, allocations: 5.117 MB / 0.8039 GB, free: 54.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/1.408, allocations: 0.9926 MB / 0.8049 GB, free: 53.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/1.427, allocations: 10.73 MB / 0.8154 GB, free: 44.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004325/1.431, allocations: 4.219 MB / 0.8195 GB, free: 41.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007748/1.439, allocations: 3.016 MB / 0.8224 GB, free: 39.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009346/1.44, allocations: 242.7 kB / 0.8227 GB, free: 39.37 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/1.44, allocations: 3.219 kB / 0.8227 GB, free: 39.37 MB / 442.7 MB Notification: Performance of Templates: time 0.3592/1.799, allocations: 102 MB / 0.9223 GB, free: 83.1 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/DCAC/PolyphaseTwoLevel/PolyphaseTwoLevel_RL/PolyphaseTwoLevel_RL.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches