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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001145/0.001144, allocations: 100 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002412, allocations: 8 kB / 307.1 MB, free: 1.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 51.53 MB / 358.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.006655/0.1085, allocations: 5.945 MB / 364.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.1125, allocations: 2.038 MB / 366.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1137, allocations: 43.75 kB / 366.7 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007976/0.1145, allocations: 222.3 kB / 366.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.1161, allocations: 461.5 kB / 367.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1172, allocations: 323.5 kB / 367.7 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1676/0.2848, allocations: 6.592 MB / 374.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00454/0.2894, allocations: 3.627 MB / 377.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.2924, allocations: 2.006 MB / 379.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004787/0.2972, allocations: 2.919 MB / 382.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.2982, allocations: 283.4 kB / 383.1 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.2996, allocations: 295 kB / 383.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.3009, allocations: 1.342 MB / 384.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00159/0.3025, allocations: 1.156 MB / 385.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006716/0.3093, allocations: 8.179 MB / 394.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3093, allocations: 0 / 394.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3093, allocations: 4 kB / 394.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002963/0.3096, allocations: 0 / 394.1 MB, free: 3.746 MB / 302.1 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.01383/0.3234, allocations: 6.809 MB / 400.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3235, allocations: 10.19 kB / 400.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004673/0.3282, allocations: 1.062 MB / 401.9 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.3386, allocations: 4.153 MB / 406.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006542/0.3393, allocations: 451.7 kB / 406.5 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002325/0.3416, allocations: 0.5077 MB / 407 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/0.3604, allocations: 8.114 MB / 415.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.3606, allocations: 11.84 kB / 415.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005947/0.3612, allocations: 212 kB / 415.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.3613, allocations: 189.7 kB / 415.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.3769, allocations: 7.465 MB / 423 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03908/0.416, allocations: 21.66 MB / 444.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.429, allocations: 8.251 MB / 452.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006776/0.4358, allocations: 3.916 MB / 456.9 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.4361, allocations: 66.23 kB / 456.9 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007655/0.4438, allocations: 4.167 MB / 461.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 9.448e-06/0.4438, allocations: 0.5625 kB / 461.1 MB, free: 3.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.04786/0.4917, allocations: 19.58 MB / 480.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002577/0.492, allocations: 462.5 kB / 481.1 MB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007657/0.4996, allocations: 4.276 MB / 485.4 MB, free: 10.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001037/0.5007, allocations: 169.6 kB / 485.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002595/0.5033, allocations: 2.193 MB / 487.8 MB, free: 8.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002098/0.5054, allocations: 1.405 MB / 489.2 MB, free: 6.996 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008431/0.5063, allocations: 96 kB / 489.3 MB, free: 6.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004538/0.5067, allocations: 491.8 kB / 489.7 MB, free: 6.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006126/0.5129, allocations: 2.846 MB / 492.6 MB, free: 3.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006794/0.5197, allocations: 3.896 MB / 496.5 MB, free: 15.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006205/0.5259, allocations: 3.289 MB / 499.8 MB, free: 11.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-05/0.526, allocations: 8 kB / 499.8 MB, free: 11.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01865/0.5446, allocations: 8.342 MB / 0.4962 GB, free: 3.484 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007672/0.5454, allocations: 1.014 MB / 0.4972 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-05/0.5455, allocations: 24 kB / 0.4972 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/0.5494, allocations: 1.714 MB / 0.4989 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003471/0.5529, allocations: 0.8189 MB / 0.4997 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02704/0.58, allocations: 22.01 MB / 0.5212 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004755/0.5848, allocations: 483.5 kB / 0.5216 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009355/0.5857, allocations: 180 kB / 0.5218 GB, free: 7.941 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.5857, allocations: 7.125 kB / 0.5218 GB, free: 7.938 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01521/0.601, allocations: 7.71 MB / 0.5293 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.746e-05/0.6011, allocations: 24 kB / 0.5294 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1809/0.7819, allocations: 1.722 MB / 0.5311 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/0.7854, allocations: 0.7512 MB / 0.5318 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0234/0.8088, allocations: 22 MB / 0.5533 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/0.8129, allocations: 410 kB / 0.5537 GB, free: 125.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006091/0.8135, allocations: 178.9 kB / 0.5538 GB, free: 125.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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,$whenCondition28,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[1].zeroOrderHold.sampleTrigger,$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.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].notFire,$PRE.signalPWM[1].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.count,signalPWM[2].notFire,$PRE.signalPWM[2].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].notFire,$PRE.signalPWM[3].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].notFire,$PRE.signalPWM[4].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.ySample,$PRE.signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].notFire,$PRE.signalPWM[5].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.ySample,$PRE.signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].notFire,$PRE.signalPWM[6].zeroOrderHold.ySample,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 (461): * Single equations (assignments): 448 * 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.00414/0.8177, allocations: 2.279 MB / 0.5561 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009962/0.8187, allocations: 483.4 kB / 0.5565 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.8318, allocations: 7.982 MB / 0.5643 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-05/0.8319, allocations: 46.22 kB / 0.5644 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.8319, allocations: 7.875 kB / 0.5644 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.832, allocations: 28 kB / 0.5644 GB, free: 122.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/0.8554, allocations: 14.09 MB / 0.5781 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.8555, allocations: 0 / 0.5781 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002456/0.8579, allocations: 0.6008 MB / 0.5787 GB, free: 109.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.8609, allocations: 1.702 MB / 0.5804 GB, free: 107.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005383/0.8614, allocations: 119.9 kB / 0.5805 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/0.8798, allocations: 21.85 MB / 0.6019 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8798, allocations: 4.875 kB / 0.6019 GB, free: 85.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/0.8955, allocations: 11.74 MB / 0.6133 GB, free: 73.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/0.8978, allocations: 1.174 MB / 0.6145 GB, free: 72.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/0.8986, allocations: 175.9 kB / 0.6146 GB, free: 72.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002452/0.9011, allocations: 463.5 kB / 0.6151 GB, free: 71.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/0.9024, allocations: 0.7249 MB / 0.6158 GB, free: 71.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/0.9027, allocations: 151.9 kB / 0.6159 GB, free: 70.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003824/0.9065, allocations: 2.948 MB / 0.6188 GB, free: 68.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9065, allocations: 4 kB / 0.6188 GB, free: 68.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006934/0.9135, allocations: 2.234 MB / 0.621 GB, free: 65.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.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].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,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.0006185/0.9141, allocations: 420.9 kB / 0.6214 GB, free: 65.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01699/0.9311, allocations: 13.8 MB / 0.6349 GB, free: 51.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/0.9311, allocations: 5.219 kB / 0.6349 GB, free: 51.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006822/0.938, allocations: 5.257 MB / 0.64 GB, free: 45.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/0.9425, allocations: 1.15 MB / 0.6411 GB, free: 44.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.9605, allocations: 14.81 MB / 0.6556 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003204/0.9638, allocations: 4.224 MB / 0.6597 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004692/0.9685, allocations: 2.023 MB / 0.6617 GB, free: 23.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009012/0.9694, allocations: 307.3 kB / 0.662 GB, free: 23.36 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.9694, allocations: 0 / 0.662 GB, free: 23.36 MB / 446.1 MB Notification: Performance of Templates: time 0.3021/1.271, allocations: 96.58 MB / 0.7563 GB, free: 110.6 MB / 462.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches