Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001356, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001508/0.001508, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 47.92 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0831/0.08431, allocations: 46.62 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.007474/0.09182, allocations: 6.462 MB / 335.2 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.09542, allocations: 1.949 MB / 337.2 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006132/0.09606, allocations: 35.81 kB / 337.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.09674, allocations: 293.6 kB / 337.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.09796, allocations: 0.5008 MB / 338 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.09878, allocations: 459.3 kB / 338.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005871/0.1047, allocations: 6.955 MB / 345.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004949/0.1096, allocations: 5.009 MB / 350.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.113, allocations: 2.983 MB / 353.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00482/0.1179, allocations: 3.709 MB / 357.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001482/0.1194, allocations: 0.7969 MB / 357.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.1208, allocations: 0.793 MB / 358.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002038/0.1228, allocations: 2.002 MB / 360.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004772/0.1276, allocations: 3.488 MB / 364.2 MB, free: 124 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009242/0.1369, allocations: 10.19 MB / 374.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1369, allocations: 0 / 374.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1369, allocations: 0 / 374.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003437/0.1373, allocations: 4 kB / 374.4 MB, free: 5.895 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.1594/0.2967, allocations: 7.53 MB / 381.9 MB, free: 48.03 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.2968, allocations: 9.344 kB / 381.9 MB, free: 48.03 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.2987, allocations: 0.6577 MB / 382.6 MB, free: 47.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01049/0.3093, allocations: 4.022 MB / 386.6 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005161/0.3098, allocations: 382.2 kB / 387 MB, free: 45.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/0.3119, allocations: 0.505 MB / 387.5 MB, free: 45.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.3284, allocations: 7.881 MB / 395.3 MB, free: 42.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/0.3286, allocations: 23.58 kB / 395.4 MB, free: 42.31 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005302/0.3291, allocations: 213.4 kB / 395.6 MB, free: 42.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.3293, allocations: 186.3 kB / 395.8 MB, free: 42.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.3412, allocations: 7.197 MB / 403 MB, free: 36.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/0.375, allocations: 20.81 MB / 423.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.3856, allocations: 8.05 MB / 431.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0055/0.3912, allocations: 3.794 MB / 435.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.3914, allocations: 71.25 kB / 435.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006384/0.3978, allocations: 4.035 MB / 439.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=457): time 6.933e-06/0.3979, allocations: 0 / 439.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=458): time 0.03974/0.4376, allocations: 18.93 MB / 458.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000238/0.4379, allocations: 463.4 kB / 459.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006631/0.4445, allocations: 4.003 MB / 463.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009443/0.4455, allocations: 165.6 kB / 463.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/0.4475, allocations: 2.076 MB / 465.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001896/0.4494, allocations: 1.398 MB / 466.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002507/0.4519, allocations: 0.8668 MB / 467.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.452, allocations: 309.1 kB / 467.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005287/0.4573, allocations: 2.718 MB / 470.6 MB, free: 8 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006124/0.4635, allocations: 3.79 MB / 474.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.4744, allocations: 6.351 MB / 480.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-05/0.4745, allocations: 8 kB / 480.8 MB, free: 5.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01618/0.4907, allocations: 8.066 MB / 488.8 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/0.4908, allocations: 182.8 kB / 489 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.399e-05/0.4909, allocations: 28.75 kB / 489 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003791/0.4947, allocations: 1.726 MB / 490.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/0.4983, allocations: 0.7837 MB / 491.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02854/0.5268, allocations: 24.01 MB / 0.5035 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/0.5313, allocations: 407.6 kB / 0.5039 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009749/0.5323, allocations: 176 kB / 0.504 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008641/0.541, allocations: 4.306 MB / 0.5082 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006218/0.5472, allocations: 3.626 MB / 0.5118 GB, free: 8.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01086/0.5581, allocations: 6.086 MB / 0.5177 GB, free: 1.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.768e-05/0.5582, allocations: 8 kB / 0.5177 GB, free: 1.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01635/0.5746, allocations: 7.762 MB / 0.5253 GB, free: 9.777 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.5748, allocations: 186.8 kB / 0.5255 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.925e-05/0.5749, allocations: 27.94 kB / 0.5255 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/0.5787, allocations: 1.735 MB / 0.5272 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.5821, allocations: 0.7175 MB / 0.5279 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1834/0.7654, allocations: 24.01 MB / 0.5514 GB, free: 132.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/0.7698, allocations: 390.4 kB / 0.5517 GB, free: 132.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000775/0.7706, allocations: 176.9 kB / 0.5519 GB, free: 132.8 MB / 430.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,$PRE.fundamentalWaveVoltage[6].mean2.y,fundamentalWaveVoltage[6].mean1.y,$PRE.fundamentalWaveVoltage[6].mean1.y,fundamentalWaveVoltage[5].mean2.y,$PRE.fundamentalWaveVoltage[5].mean2.y,fundamentalWaveVoltage[5].mean1.y,$PRE.fundamentalWaveVoltage[5].mean1.y,fundamentalWaveVoltage[4].mean2.y,$PRE.fundamentalWaveVoltage[4].mean2.y,fundamentalWaveVoltage[4].mean1.y,$PRE.fundamentalWaveVoltage[4].mean1.y,fundamentalWaveVoltage[3].mean2.y,$PRE.fundamentalWaveVoltage[3].mean2.y,fundamentalWaveVoltage[3].mean1.y,$PRE.fundamentalWaveVoltage[3].mean1.y,fundamentalWaveVoltage[2].mean2.y,$PRE.fundamentalWaveVoltage[2].mean2.y,fundamentalWaveVoltage[2].mean1.y,$PRE.fundamentalWaveVoltage[2].mean1.y,fundamentalWaveVoltage[1].mean2.y,$PRE.fundamentalWaveVoltage[1].mean2.y,fundamentalWaveVoltage[1].mean1.y,$PRE.fundamentalWaveVoltage[1].mean1.y,fundamentalWaveCurrent[6].mean2.y,$PRE.fundamentalWaveCurrent[6].mean2.y,fundamentalWaveCurrent[6].mean1.y,$PRE.fundamentalWaveCurrent[6].mean1.y,fundamentalWaveCurrent[5].mean2.y,$PRE.fundamentalWaveCurrent[5].mean2.y,fundamentalWaveCurrent[5].mean1.y,$PRE.fundamentalWaveCurrent[5].mean1.y,fundamentalWaveCurrent[4].mean2.y,$PRE.fundamentalWaveCurrent[4].mean2.y,fundamentalWaveCurrent[4].mean1.y,$PRE.fundamentalWaveCurrent[4].mean1.y,fundamentalWaveCurrent[3].mean2.y,$PRE.fundamentalWaveCurrent[3].mean2.y,fundamentalWaveCurrent[3].mean1.y,$PRE.fundamentalWaveCurrent[3].mean1.y,fundamentalWaveCurrent[2].mean2.y,$PRE.fundamentalWaveCurrent[2].mean2.y,fundamentalWaveCurrent[2].mean1.y,$PRE.fundamentalWaveCurrent[2].mean1.y,fundamentalWaveCurrent[1].mean2.y,$PRE.fundamentalWaveCurrent[1].mean2.y,fundamentalWaveCurrent[1].mean1.y,$PRE.fundamentalWaveCurrent[1].mean1.y,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.001338/0.772, allocations: 0.5979 MB / 0.5525 GB, free: 132.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008737/0.7728, allocations: 458.4 kB / 0.5529 GB, free: 132.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.7854, allocations: 7.733 MB / 0.5605 GB, free: 129.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.7854, allocations: 45.84 kB / 0.5605 GB, free: 129.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.7854, allocations: 3.906 kB / 0.5605 GB, free: 129.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.944e-05/0.7855, allocations: 19.31 kB / 0.5605 GB, free: 129.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/0.8054, allocations: 13.66 MB / 0.5739 GB, free: 122.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.8054, allocations: 4 kB / 0.5739 GB, free: 122.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/0.8078, allocations: 0.5692 MB / 0.5744 GB, free: 121.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002887/0.8107, allocations: 1.696 MB / 0.5761 GB, free: 120.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002988/0.811, allocations: 127.8 kB / 0.5762 GB, free: 120.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.8307, allocations: 23.85 MB / 0.5995 GB, free: 95.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.8307, allocations: 7.969 kB / 0.5995 GB, free: 95.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/0.8472, allocations: 11.38 MB / 0.6106 GB, free: 84.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003095/0.8504, allocations: 1.145 MB / 0.6117 GB, free: 83.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008222/0.8512, allocations: 163.9 kB / 0.6119 GB, free: 83.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/0.8538, allocations: 391.3 kB / 0.6123 GB, free: 82.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001431/0.8552, allocations: 0.7445 MB / 0.613 GB, free: 82.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/0.8555, allocations: 155.8 kB / 0.6131 GB, free: 81.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003515/0.8591, allocations: 2.781 MB / 0.6159 GB, free: 79.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8591, allocations: 0 / 0.6159 GB, free: 79.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006934/0.866, allocations: 2.199 MB / 0.618 GB, free: 76.97 MB / 430.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,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) * 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.0006178/0.8666, allocations: 415.9 kB / 0.6184 GB, free: 76.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01717/0.8838, allocations: 13.51 MB / 0.6316 GB, free: 62.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.8839, allocations: 4.656 kB / 0.6316 GB, free: 62.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006955/0.8908, allocations: 5.224 MB / 0.6367 GB, free: 57.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00437/0.8952, allocations: 1.139 MB / 0.6378 GB, free: 56.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/0.9135, allocations: 12.62 MB / 0.6501 GB, free: 43.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/0.9166, allocations: 4.081 MB / 0.6541 GB, free: 39.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004576/0.9212, allocations: 1.971 MB / 0.6561 GB, free: 37.56 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008911/0.9221, allocations: 319.3 kB / 0.6564 GB, free: 37.25 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/0.9221, allocations: 0 / 0.6564 GB, free: 37.25 MB / 430.1 MB Notification: Performance of Templates: time 0.274/1.196, allocations: 101.8 MB / 0.7558 GB, free: 86.3 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/MultiPhaseTwoLevel/MultiPhaseTwoLevel_RL/MultiPhaseTwoLevel_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches