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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 110.9 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.39 kB / 302.1 MB, free: 5.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09944/0.1005, allocations: 49.44 MB / 351.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.007811/0.1083, allocations: 6.503 MB / 358 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003548/0.1119, allocations: 1.917 MB / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.1125, allocations: 39.81 kB / 360 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.1131, allocations: 297.5 kB / 360.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.1143, allocations: 0.4892 MB / 360.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007709/0.1151, allocations: 459.3 kB / 361.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005746/0.1208, allocations: 6.99 MB / 368.2 MB, free: 2.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.203/0.3238, allocations: 5.118 MB / 373.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/0.329, allocations: 3.021 MB / 376.3 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007728/0.3368, allocations: 3.746 MB / 380.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003627/0.3404, allocations: 0.8057 MB / 380.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.3445, allocations: 0.8027 MB / 381.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00509/0.3497, allocations: 2.029 MB / 383.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01017/0.3599, allocations: 3.524 MB / 387.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.3721, allocations: 10.29 MB / 397.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.3722, allocations: 0 / 397.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.3722, allocations: 0.6562 kB / 397.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004543/0.3726, allocations: 2.812 kB / 397.5 MB, free: 1.52 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.022/0.3947, allocations: 7.605 MB / 405.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3947, allocations: 11.31 kB / 405.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.3964, allocations: 0.6655 MB / 405.8 MB, free: 11.99 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00939/0.4058, allocations: 4.099 MB / 409.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/0.4062, allocations: 388.8 kB / 410.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001839/0.408, allocations: 0.5219 MB / 410.8 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/0.4268, allocations: 8.001 MB / 418.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.4269, allocations: 22.52 kB / 418.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005612/0.4275, allocations: 212 kB / 419 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/0.4277, allocations: 185.7 kB / 419.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.4418, allocations: 7.282 MB / 426.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03835/0.4802, allocations: 20.98 MB / 447.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01945/0.4997, allocations: 8.061 MB / 455.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01092/0.5107, allocations: 3.801 MB / 459.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.511, allocations: 69.67 kB / 459.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01183/0.5229, allocations: 4.057 MB / 463.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 1.05e-05/0.5229, allocations: 0 / 463.5 MB, free: 2.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.07016/0.5931, allocations: 18.96 MB / 482.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003755/0.5935, allocations: 462 kB / 482.9 MB, free: 14.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00864/0.6022, allocations: 3.986 MB / 486.9 MB, free: 10.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000777/0.603, allocations: 165.6 kB / 487 MB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001992/0.605, allocations: 2.092 MB / 489.1 MB, free: 8.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001621/0.6066, allocations: 1.401 MB / 490.5 MB, free: 7.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/0.6085, allocations: 0.8669 MB / 491.4 MB, free: 6.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.6086, allocations: 305.1 kB / 491.7 MB, free: 5.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004878/0.6135, allocations: 2.718 MB / 494.4 MB, free: 3.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006115/0.6197, allocations: 3.798 MB / 498.2 MB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.6299, allocations: 6.36 MB / 0.4927 GB, free: 8.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/0.63, allocations: 8 kB / 0.4927 GB, free: 8.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01355/0.6435, allocations: 8.062 MB / 0.5006 GB, free: 272 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.6437, allocations: 182.2 kB / 0.5008 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-05/0.6438, allocations: 24 kB / 0.5008 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003617/0.6474, allocations: 1.74 MB / 0.5025 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.6507, allocations: 0.7697 MB / 0.5033 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/0.6772, allocations: 24 MB / 0.5267 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005952/0.6832, allocations: 407.6 kB / 0.5271 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008077/0.684, allocations: 176 kB / 0.5273 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.1778/0.8618, allocations: 4.318 MB / 0.5315 GB, free: 144.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005948/0.8678, allocations: 3.633 MB / 0.535 GB, free: 143 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008781/0.8766, allocations: 6.098 MB / 0.541 GB, free: 141.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.81e-05/0.8767, allocations: 7.125 kB / 0.541 GB, free: 141.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01468/0.8914, allocations: 7.762 MB / 0.5486 GB, free: 138.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.8915, allocations: 189.7 kB / 0.5487 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.49e-05/0.8916, allocations: 29.91 kB / 0.5488 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/0.8947, allocations: 1.724 MB / 0.5505 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/0.8977, allocations: 0.7151 MB / 0.5512 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.9174, allocations: 24 MB / 0.5746 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/0.9214, allocations: 391.2 kB / 0.575 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004821/0.9219, allocations: 180 kB / 0.5751 GB, free: 120.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * Number of states: 0 () * Number of discrete variables: 180 (signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.firstTrigger,$PRE.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,fundamentalWaveVoltage[6].mean2.y_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition26,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[1].zeroOrderHold.ySample,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].zeroOrderHold.ySample,signalPWM[6].notFire,signalPWM[5].sawtooth.count,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].zeroOrderHold.ySample,signalPWM[5].notFire,signalPWM[4].sawtooth.count,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].zeroOrderHold.ySample,signalPWM[4].notFire,signalPWM[3].sawtooth.count,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].zeroOrderHold.ySample,signalPWM[3].notFire,signalPWM[2].sawtooth.count,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].zeroOrderHold.ySample,signalPWM[2].notFire,signalPWM[1].sawtooth.count,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].zeroOrderHold.ySample,signalPWM[1].notFire,inverter.diode_n.idealDiode[6].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[6].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[6].y,inverter.andCondition_n[5].y,inverter.andCondition_n[4].y,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[6].y,inverter.andCondition_p[5].y,inverter.andCondition_p[4].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition25,$whenCondition27,$whenCondition29,$whenCondition31,$whenCondition33,$whenCondition35) * 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001093/0.923, allocations: 0.6048 MB / 0.5757 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006726/0.9237, allocations: 460.7 kB / 0.5762 GB, free: 119.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.9344, allocations: 7.734 MB / 0.5837 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.9345, allocations: 43.98 kB / 0.5838 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.9345, allocations: 4 kB / 0.5838 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.269e-05/0.9345, allocations: 19.92 kB / 0.5838 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/0.9538, allocations: 13.71 MB / 0.5972 GB, free: 98.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.9538, allocations: 0 / 0.5972 GB, free: 98.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/0.9561, allocations: 0.5579 MB / 0.5977 GB, free: 97.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.9591, allocations: 1.7 MB / 0.5994 GB, free: 96.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003975/0.9595, allocations: 123.9 kB / 0.5995 GB, free: 96.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/0.9788, allocations: 23.84 MB / 0.6228 GB, free: 71.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.9789, allocations: 0 / 0.6228 GB, free: 71.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.9938, allocations: 11.38 MB / 0.6339 GB, free: 60.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003088/0.9969, allocations: 1.144 MB / 0.635 GB, free: 58.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/0.998, allocations: 167.9 kB / 0.6352 GB, free: 58.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002645/1.001, allocations: 383.5 kB / 0.6355 GB, free: 58.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/1.002, allocations: 0.7522 MB / 0.6363 GB, free: 57.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002905/1.002, allocations: 155.9 kB / 0.6364 GB, free: 57.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003503/1.006, allocations: 2.761 MB / 0.6391 GB, free: 54.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.006, allocations: 0 / 0.6391 GB, free: 54.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008621/1.015, allocations: 2.211 MB / 0.6413 GB, free: 52.54 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000876/1.015, allocations: 421.1 kB / 0.6417 GB, free: 52.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01754/1.033, allocations: 13.51 MB / 0.6549 GB, free: 38.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.033, allocations: 4.656 kB / 0.6549 GB, free: 38.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006849/1.04, allocations: 5.213 MB / 0.66 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004534/1.044, allocations: 1.125 MB / 0.6611 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/1.062, allocations: 12.7 MB / 0.6735 GB, free: 19.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003104/1.066, allocations: 4.105 MB / 0.6775 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004341/1.07, allocations: 1.963 MB / 0.6794 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008993/1.071, allocations: 319.3 kB / 0.6797 GB, free: 12.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/1.071, allocations: 0 / 0.6797 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Templates: time 0.314/1.385, allocations: 101.8 MB / 0.7791 GB, free: 94.89 MB / 462.1 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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