Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000822/0.000822, allocations: 94.95 kB / 286.7 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.643e-05, allocations: 4 kB / 343.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09588, allocations: 51.47 MB / 395.2 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/0.4155, allocations: 93.14 MB / 488.3 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4158, allocations: 88.62 kB / 488.4 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2182/0.634, allocations: 83.63 MB / 0.5586 GB, free: 1.191 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.634, allocations: 0 / 0.5586 GB, free: 1.191 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006071/0.6347, allocations: 143.9 kB / 0.5588 GB, free: 1.051 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.01631/0.651, allocations: 6.549 MB / 0.5652 GB, free: 10.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.651, allocations: 12.03 kB / 0.5652 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/0.6567, allocations: 1.046 MB / 0.5662 GB, free: 9.246 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00983/0.6665, allocations: 3.748 MB / 0.5699 GB, free: 5.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.6669, allocations: 160 kB / 0.57 GB, free: 5.281 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.6685, allocations: 327.9 kB / 0.5703 GB, free: 4.961 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2372/0.9057, allocations: 6.228 MB / 0.5764 GB, free: 71.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/0.9205, allocations: 6.74 MB / 0.583 GB, free: 70.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.9207, allocations: 16.95 kB / 0.583 GB, free: 70.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005394/0.9212, allocations: 29.78 kB / 0.583 GB, free: 70.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.9213, allocations: 182.8 kB / 0.5832 GB, free: 70.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03229/0.9536, allocations: 20.84 MB / 0.6036 GB, free: 67.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007289/0.961, allocations: 7.436 MB / 0.6108 GB, free: 66.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00447/0.9655, allocations: 3.52 MB / 0.6143 GB, free: 66.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.9657, allocations: 66.64 kB / 0.6143 GB, free: 66.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006121/0.9719, allocations: 3.741 MB / 0.618 GB, free: 65.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=457): time 8.295e-06/0.9719, allocations: 3.938 kB / 0.618 GB, free: 65.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=458): time 0.01846/0.9904, allocations: 12.33 MB / 0.63 GB, free: 61.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.9906, allocations: 460.9 kB / 0.6305 GB, free: 60.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.9954, allocations: 3.065 MB / 0.6335 GB, free: 59.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00072/0.9961, allocations: 79.34 kB / 0.6335 GB, free: 59.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002056/0.9982, allocations: 2.145 MB / 0.6356 GB, free: 58.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001353/0.9995, allocations: 1.342 MB / 0.6369 GB, free: 57.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.9998, allocations: 3.062 kB / 0.6369 GB, free: 57.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/1, allocations: 491.6 kB / 0.6374 GB, free: 56.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/1.003, allocations: 2.469 MB / 0.6398 GB, free: 55.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/1.006, allocations: 3.512 MB / 0.6433 GB, free: 53.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/1.009, allocations: 2.73 MB / 0.6459 GB, free: 52.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/1.009, allocations: 7.625 kB / 0.6459 GB, free: 52.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.009005/1.018, allocations: 7.086 MB / 0.6528 GB, free: 50.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001877/1.02, allocations: 11.63 MB / 0.6642 GB, free: 38.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.35e-05/1.02, allocations: 25.03 kB / 0.6642 GB, free: 38.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/1.023, allocations: 1.683 MB / 0.6659 GB, free: 37.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/1.026, allocations: 0.826 MB / 0.6667 GB, free: 37.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/1.044, allocations: 21.32 MB / 0.6875 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003863/1.048, allocations: 391.8 kB / 0.6879 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003725/1.048, allocations: 175.2 kB / 0.688 GB, free: 23.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/1.048, allocations: 3.5 kB / 0.688 GB, free: 23.2 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007835/1.056, allocations: 6.652 MB / 0.6945 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/1.056, allocations: 28.38 kB / 0.6946 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/1.059, allocations: 1.696 MB / 0.6962 GB, free: 20.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/1.061, allocations: 0.7593 MB / 0.697 GB, free: 20.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/1.079, allocations: 21.31 MB / 0.7178 GB, free: 21.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/1.083, allocations: 330.4 kB / 0.7181 GB, free: 21.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/1.084, allocations: 180.2 kB / 0.7183 GB, free: 21.84 MB / 458.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.001078/1.085, allocations: 371.4 kB / 0.7186 GB, free: 21.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007523/1.085, allocations: 434.6 kB / 0.719 GB, free: 21.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008661/1.094, allocations: 6.767 MB / 0.7256 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/1.094, allocations: 44 kB / 0.7257 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.094, allocations: 4 kB / 0.7257 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.004e-05/1.094, allocations: 24.05 kB / 0.7257 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02237/1.117, allocations: 12.6 MB / 0.738 GB, free: 5.516 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.117, allocations: 4.156 kB / 0.738 GB, free: 5.512 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00287/1.119, allocations: 0.6126 MB / 0.7386 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/1.123, allocations: 1.668 MB / 0.7402 GB, free: 3.668 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000629/1.124, allocations: 70.72 kB / 0.7403 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2329/1.357, allocations: 21.2 MB / 0.761 GB, free: 70.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.357, allocations: 6.797 kB / 0.761 GB, free: 70.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/1.37, allocations: 10.71 MB / 0.7715 GB, free: 69.75 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/1.372, allocations: 1.139 MB / 0.7726 GB, free: 69.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009964/1.373, allocations: 104.1 kB / 0.7727 GB, free: 69.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/1.376, allocations: 403.9 kB / 0.7731 GB, free: 69.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001359/1.377, allocations: 0.7889 MB / 0.7738 GB, free: 69.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002751/1.378, allocations: 140.4 kB / 0.774 GB, free: 69.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00269/1.38, allocations: 2.306 MB / 0.7762 GB, free: 69.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.38, allocations: 3.75 kB / 0.7762 GB, free: 69.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006906/1.387, allocations: 1.977 MB / 0.7782 GB, free: 69.51 MB / 458.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.0006628/1.388, allocations: 370.8 kB / 0.7785 GB, free: 69.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01487/1.403, allocations: 12.63 MB / 0.7908 GB, free: 66.94 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.403, allocations: 4.688 kB / 0.7908 GB, free: 66.94 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006214/1.409, allocations: 4.888 MB / 0.7956 GB, free: 66.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004117/1.413, allocations: 0.8748 MB / 0.7965 GB, free: 66.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.431, allocations: 10.58 MB / 0.8068 GB, free: 62.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003636/1.434, allocations: 4.306 MB / 0.811 GB, free: 61.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00698/1.441, allocations: 2.856 MB / 0.8138 GB, free: 61.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007496/1.442, allocations: 241.4 kB / 0.814 GB, free: 61.48 MB / 458.7 MB Notification: Performance of SimCode: time 7.52e-07/1.442, allocations: 2.719 kB / 0.814 GB, free: 61.48 MB / 458.7 MB Notification: Performance of Templates: time 0.1092/1.551, allocations: 90.18 MB / 0.9021 GB, free: 8.004 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches