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.001215/0.001216, allocations: 101.9 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 198.9 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002074/0.0002074, allocations: 4 kB / 306.6 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09079, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.005831/0.09666, allocations: 5.629 MB / 363.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003493/0.1002, allocations: 2.027 MB / 365.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005179/0.1007, allocations: 39.75 kB / 365.8 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004103/0.1011, allocations: 234.5 kB / 366 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.1022, allocations: 490.5 kB / 366.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.1029, allocations: 319.1 kB / 366.8 MB, free: 5.168 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004263/0.1072, allocations: 4.094 MB / 370.9 MB, free: 1.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1545/0.2617, allocations: 3.617 MB / 374.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.2641, allocations: 1.944 MB / 376.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.2679, allocations: 2.717 MB / 379.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000928/0.2689, allocations: 283.3 kB / 379.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.2699, allocations: 295.5 kB / 379.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.2711, allocations: 1.291 MB / 381 MB, free: 8.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.2724, allocations: 1.147 MB / 382.2 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006558/0.279, allocations: 8.105 MB / 390.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.279, allocations: 0 / 390.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.279, allocations: 0 / 390.3 MB, free: 5.078 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002844/0.2793, allocations: 1.469 kB / 390.3 MB, free: 5.078 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.01576/0.2951, allocations: 6.759 MB / 397 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2951, allocations: 9.25 kB / 397 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/0.3, allocations: 1.052 MB / 398.1 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009785/0.3098, allocations: 4.045 MB / 402.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005812/0.3104, allocations: 453 kB / 402.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.3121, allocations: 0.5084 MB / 403.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/0.327, allocations: 8.068 MB / 411.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/0.3272, allocations: 11.91 kB / 411.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006112/0.3279, allocations: 216.7 kB / 411.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.328, allocations: 185.7 kB / 411.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0158/0.3438, allocations: 7.465 MB / 419 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/0.3889, allocations: 21.65 MB / 440.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.4019, allocations: 8.244 MB / 448.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.4022, allocations: 65.77 kB / 449 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008342/0.4105, allocations: 4.16 MB / 453.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 8.506e-06/0.4106, allocations: 0 / 453.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.04842/0.459, allocations: 19.51 MB / 472.7 MB, free: 7.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003035/0.4593, allocations: 461.9 kB / 473.1 MB, free: 6.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008146/0.4675, allocations: 4.177 MB / 477.3 MB, free: 2.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001289/0.4688, allocations: 177.6 kB / 477.5 MB, free: 2.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002436/0.4713, allocations: 2.17 MB / 479.6 MB, free: 15.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002087/0.4734, allocations: 1.404 MB / 481 MB, free: 14.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.4744, allocations: 92 kB / 481.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004756/0.4749, allocations: 499.8 kB / 481.6 MB, free: 14.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005957/0.4808, allocations: 2.839 MB / 484.5 MB, free: 11.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006351/0.4872, allocations: 3.887 MB / 488.3 MB, free: 6.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005651/0.4929, allocations: 3.286 MB / 491.6 MB, free: 3.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.548e-05/0.4929, allocations: 8 kB / 491.6 MB, free: 3.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01432/0.5072, allocations: 8.297 MB / 499.9 MB, free: 11.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.004086/0.5113, allocations: 11.39 MB / 0.4993 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.239e-05/0.5114, allocations: 28 kB / 0.4994 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003589/0.515, allocations: 1.685 MB / 0.501 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/0.5188, allocations: 0.8345 MB / 0.5018 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02546/0.5443, allocations: 22.18 MB / 0.5235 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004382/0.5487, allocations: 475.6 kB / 0.5239 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/0.5491, allocations: 176 kB / 0.5241 GB, free: 4.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.5491, allocations: 4 kB / 0.5241 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1803/0.7294, allocations: 7.68 MB / 0.5316 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.7296, allocations: 24.75 kB / 0.5316 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/0.7333, allocations: 1.684 MB / 0.5333 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003481/0.7368, allocations: 0.758 MB / 0.534 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.7584, allocations: 22.18 MB / 0.5557 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004214/0.7627, allocations: 411.6 kB / 0.5561 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/0.7632, allocations: 174.6 kB / 0.5562 GB, free: 124.9 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 (467): * Single equations (assignments): 454 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.004604/0.7678, allocations: 2.252 MB / 0.5584 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/0.7688, allocations: 474.7 kB / 0.5589 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.7816, allocations: 7.942 MB / 0.5666 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.7816, allocations: 44.12 kB / 0.5667 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.7816, allocations: 3.812 kB / 0.5667 GB, free: 121.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.899e-05/0.7817, allocations: 23.91 kB / 0.5667 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02234/0.804, allocations: 14 MB / 0.5804 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.8041, allocations: 3.719 kB / 0.5804 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/0.8065, allocations: 0.6145 MB / 0.581 GB, free: 107.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/0.8094, allocations: 1.657 MB / 0.5826 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004325/0.8099, allocations: 131.9 kB / 0.5827 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01927/0.8291, allocations: 22.06 MB / 0.6043 GB, free: 82.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.8292, allocations: 4.031 kB / 0.6043 GB, free: 82.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/0.8468, allocations: 11.84 MB / 0.6158 GB, free: 70.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/0.8498, allocations: 1.167 MB / 0.617 GB, free: 69.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/0.8509, allocations: 171.9 kB / 0.6171 GB, free: 69.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003071/0.854, allocations: 467.5 kB / 0.6176 GB, free: 68.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/0.8552, allocations: 0.7249 MB / 0.6183 GB, free: 68.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002862/0.8555, allocations: 151.9 kB / 0.6184 GB, free: 68.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003776/0.8593, allocations: 2.887 MB / 0.6213 GB, free: 65.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8593, allocations: 3.938 kB / 0.6213 GB, free: 65.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007171/0.8665, allocations: 2.23 MB / 0.6234 GB, free: 62.98 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 (350): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006326/0.8672, allocations: 422.6 kB / 0.6238 GB, free: 62.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01769/0.8849, allocations: 13.75 MB / 0.6373 GB, free: 48.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.8849, allocations: 16.61 kB / 0.6373 GB, free: 48.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007368/0.8923, allocations: 5.213 MB / 0.6424 GB, free: 43.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004382/0.8967, allocations: 1.05 MB / 0.6434 GB, free: 42.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.9168, allocations: 14.72 MB / 0.6578 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/0.9202, allocations: 4.289 MB / 0.662 GB, free: 23.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004753/0.925, allocations: 2.014 MB / 0.6639 GB, free: 21.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009754/0.926, allocations: 307.3 kB / 0.6642 GB, free: 20.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.926, allocations: 0 / 0.6642 GB, free: 20.77 MB / 446.1 MB Notification: Performance of Templates: time 0.2847/1.211, allocations: 96.07 MB / 0.758 GB, free: 105.2 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","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches