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.001283/0.001283, allocations: 181 kB / 17.4 MB, free: 4.418 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.344/1.344, allocations: 223.3 MB / 241.4 MB, free: 9.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008288, allocations: 93.09 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 11.94 kB / 352.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2125, allocations: 50.4 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3164, allocations: 91.97 MB / 494.7 MB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.3168, allocations: 91.95 kB / 494.8 MB, free: 4.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3742/0.691, allocations: 83.39 MB / 0.5647 GB, free: 48.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.691, allocations: 7.938 kB / 0.5647 GB, free: 48.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005248/0.6916, allocations: 131.9 kB / 0.5648 GB, free: 48.72 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: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.01642/0.708, allocations: 6.994 MB / 0.5716 GB, free: 41.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.7081, allocations: 12.03 kB / 0.5716 GB, free: 41.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.7107, allocations: 0.6689 MB / 0.5723 GB, free: 40.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/0.7186, allocations: 3.798 MB / 0.576 GB, free: 36.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.7189, allocations: 386.2 kB / 0.5764 GB, free: 36.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.7207, allocations: 0.5236 MB / 0.5769 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.7365, allocations: 7.925 MB / 0.5846 GB, free: 27.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.7367, allocations: 12.09 kB / 0.5846 GB, free: 27.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008113/0.7375, allocations: 215.9 kB / 0.5848 GB, free: 27.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.7376, allocations: 193.7 kB / 0.585 GB, free: 27.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/0.7506, allocations: 7.337 MB / 0.5922 GB, free: 20.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03892/0.7896, allocations: 21.67 MB / 0.6133 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.8025, allocations: 8.4 MB / 0.6215 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007283/0.8098, allocations: 4.035 MB / 0.6255 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003269/0.8102, allocations: 63.27 kB / 0.6255 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008015/0.8182, allocations: 4.296 MB / 0.6297 GB, free: 13.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=457): time 7.904e-06/0.8182, allocations: 8 kB / 0.6297 GB, free: 13.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=458): time 0.04432/0.8625, allocations: 19.87 MB / 0.6491 GB, free: 9.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002757/0.8629, allocations: 466.9 kB / 0.6496 GB, free: 8.621 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007173/0.87, allocations: 3.959 MB / 0.6535 GB, free: 4.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009886/0.8711, allocations: 169.6 kB / 0.6536 GB, free: 4.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002289/0.8734, allocations: 2.068 MB / 0.6556 GB, free: 2.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002227/0.8756, allocations: 1.406 MB / 0.657 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008327/0.8765, allocations: 92 kB / 0.6571 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004621/0.8769, allocations: 499.8 kB / 0.6576 GB, free: 420 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1942/1.071, allocations: 2.92 MB / 0.6604 GB, free: 96.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005607/1.077, allocations: 4.019 MB / 0.6644 GB, free: 95.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00914/1.086, allocations: 6.765 MB / 0.671 GB, free: 94.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.082e-05/1.086, allocations: 7.781 kB / 0.671 GB, free: 94.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.01254/1.099, allocations: 8.474 MB / 0.6792 GB, free: 94.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004253/1.099, allocations: 1.034 MB / 0.6803 GB, free: 93.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/1.099, allocations: 26.44 kB / 0.6803 GB, free: 93.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003261/1.102, allocations: 1.723 MB / 0.682 GB, free: 93.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/1.105, allocations: 0.8259 MB / 0.6828 GB, free: 93.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/1.124, allocations: 22.02 MB / 0.7043 GB, free: 79.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.129, allocations: 474 kB / 0.7047 GB, free: 79.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006757/1.129, allocations: 180.7 kB / 0.7049 GB, free: 79.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/1.129, allocations: 3.438 kB / 0.7049 GB, free: 79.39 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01188/1.141, allocations: 7.872 MB / 0.7126 GB, free: 76.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.603e-05/1.141, allocations: 25.06 kB / 0.7126 GB, free: 76.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003012/1.144, allocations: 1.727 MB / 0.7143 GB, free: 76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/1.147, allocations: 0.7565 MB / 0.715 GB, free: 75.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/1.166, allocations: 22.03 MB / 0.7365 GB, free: 56.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003929/1.17, allocations: 410.2 kB / 0.7369 GB, free: 55.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/1.171, allocations: 175.4 kB / 0.7371 GB, free: 55.61 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (460): * Single equations (assignments): 447 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.003335/1.174, allocations: 2.221 MB / 0.7393 GB, free: 53.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007112/1.175, allocations: 463.5 kB / 0.7397 GB, free: 53.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.186, allocations: 7.965 MB / 0.7475 GB, free: 47.08 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.008e-05/1.186, allocations: 47.94 kB / 0.7475 GB, free: 47.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.186, allocations: 4 kB / 0.7475 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.009e-05/1.187, allocations: 20.2 kB / 0.7476 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/1.208, allocations: 14.34 MB / 0.7616 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.208, allocations: 4 kB / 0.7616 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002806/1.211, allocations: 0.6105 MB / 0.7622 GB, free: 35.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003337/1.215, allocations: 1.702 MB / 0.7638 GB, free: 33.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004455/1.215, allocations: 131.8 kB / 0.764 GB, free: 33.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01904/1.234, allocations: 21.9 MB / 0.7853 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.234, allocations: 3.938 kB / 0.7853 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/1.254, allocations: 12.18 MB / 0.7972 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003139/1.257, allocations: 1.175 MB / 0.7984 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.258, allocations: 170 kB / 0.7986 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003151/1.261, allocations: 455.5 kB / 0.799 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001814/1.263, allocations: 0.8185 MB / 0.7998 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003954/1.264, allocations: 147.9 kB / 0.7999 GB, free: 11.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004413/1.268, allocations: 2.737 MB / 0.8026 GB, free: 8.719 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.268, allocations: 0 / 0.8026 GB, free: 8.719 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00857/1.277, allocations: 2.243 MB / 0.8048 GB, free: 6.48 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008152/1.277, allocations: 432.5 kB / 0.8052 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02201/1.299, allocations: 14.14 MB / 0.819 GB, free: 7.617 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.299, allocations: 4.781 kB / 0.819 GB, free: 7.613 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009683/1.309, allocations: 5.545 MB / 0.8244 GB, free: 1.992 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006863/1.316, allocations: 1.06 MB / 0.8255 GB, free: 1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2004/1.516, allocations: 14.52 MB / 0.8396 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004549/1.521, allocations: 4.108 MB / 0.8437 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005254/1.526, allocations: 2.054 MB / 0.8457 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.527, allocations: 285.3 kB / 0.8459 GB, free: 107.6 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/1.527, allocations: 0 / 0.8459 GB, free: 107.6 MB / 458.7 MB Notification: Performance of Templates: time 0.1258/1.653, allocations: 96.78 MB / 0.9404 GB, free: 43.07 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/jenkins1/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