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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.1 MB / 223.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008863/0.0008863, allocations: 106 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008687/0.0008688, allocations: 35.94 kB / 327.2 MB, free: 296 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1938, allocations: 46.62 MB / 373.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.005917/0.1997, allocations: 6.434 MB / 380.3 MB, free: 40.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.203, allocations: 1.924 MB / 382.2 MB, free: 39.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006063/0.2036, allocations: 33.84 kB / 382.2 MB, free: 39.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.2041, allocations: 233.6 kB / 382.5 MB, free: 39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009458/0.2051, allocations: 473.6 kB / 382.9 MB, free: 38.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.2057, allocations: 405.3 kB / 383.3 MB, free: 38.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.2098, allocations: 6.941 MB / 390.3 MB, free: 33.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003113/0.2129, allocations: 4.494 MB / 394.8 MB, free: 28.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.2151, allocations: 2.346 MB / 397.1 MB, free: 26.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/0.2176, allocations: 3.381 MB / 400.5 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005241/0.2181, allocations: 424 kB / 400.9 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006733/0.2188, allocations: 420 kB / 401.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007419/0.2196, allocations: 1.549 MB / 402.9 MB, free: 20.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.2219, allocations: 3.031 MB / 405.9 MB, free: 17.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004497/0.2264, allocations: 9.62 MB / 415.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2264, allocations: 0 / 415.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.2264, allocations: 4 kB / 415.5 MB, free: 7.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001084/0.2265, allocations: 0 / 415.5 MB, free: 7.629 MB / 298.7 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.01085/0.2374, allocations: 7.551 MB / 423.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2374, allocations: 12.03 kB / 423.1 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.2383, allocations: 0.6573 MB / 423.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007085/0.2454, allocations: 3.951 MB / 427.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/0.2457, allocations: 407.1 kB / 428.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006576/0.2464, allocations: 0.5076 MB / 428.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01163/0.258, allocations: 7.887 MB / 436.5 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.04e-05/0.2582, allocations: 19.84 kB / 436.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004318/0.2586, allocations: 204 kB / 436.7 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.2587, allocations: 185.5 kB / 436.9 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.2697, allocations: 7.195 MB / 444.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03027/0.3, allocations: 21.01 MB / 465.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.3105, allocations: 8.039 MB / 473.1 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005555/0.3161, allocations: 3.809 MB / 476.9 MB, free: 9.355 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001869/0.3163, allocations: 71.23 kB / 477 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00544/0.3218, allocations: 4.043 MB / 481 MB, free: 5.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=457): time 5.62e-06/0.3218, allocations: 0 / 481 MB, free: 5.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=458): time 0.03449/0.3563, allocations: 18.92 MB / 500 MB, free: 2.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/0.3565, allocations: 463.4 kB / 0.4887 GB, free: 1.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1507/0.5073, allocations: 4.003 MB / 0.4926 GB, free: 105.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001297/0.5086, allocations: 166 kB / 0.4928 GB, free: 105.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001813/0.5104, allocations: 2.069 MB / 0.4948 GB, free: 104.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.5118, allocations: 1.403 MB / 0.4961 GB, free: 103.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.5131, allocations: 0.8695 MB / 0.497 GB, free: 103.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.5131, allocations: 306 kB / 0.4973 GB, free: 103.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00439/0.5175, allocations: 2.717 MB / 0.4999 GB, free: 102.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.5223, allocations: 3.795 MB / 0.5036 GB, free: 100.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007624/0.5299, allocations: 6.351 MB / 0.5098 GB, free: 96.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/0.53, allocations: 8.781 kB / 0.5099 GB, free: 96.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01055/0.5405, allocations: 8.055 MB / 0.5177 GB, free: 88.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.478e-05/0.5406, allocations: 186.2 kB / 0.5179 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/0.5407, allocations: 24 kB / 0.5179 GB, free: 88.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.5435, allocations: 1.736 MB / 0.5196 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.5461, allocations: 0.7759 MB / 0.5204 GB, free: 85.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/0.564, allocations: 22.03 MB / 0.5419 GB, free: 62.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/0.5678, allocations: 407.6 kB / 0.5423 GB, free: 62.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003751/0.5682, allocations: 176 kB / 0.5424 GB, free: 62.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006314/0.5745, allocations: 4.31 MB / 0.5466 GB, free: 57.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003863/0.5784, allocations: 3.618 MB / 0.5502 GB, free: 53.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006906/0.5853, allocations: 6.097 MB / 0.5561 GB, free: 47.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.143e-05/0.5854, allocations: 11.28 kB / 0.5561 GB, free: 47.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01029/0.5957, allocations: 7.754 MB / 0.5637 GB, free: 39.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.5958, allocations: 190.1 kB / 0.5639 GB, free: 39.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.5958, allocations: 24 kB / 0.5639 GB, free: 39.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.5987, allocations: 1.724 MB / 0.5656 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/0.6012, allocations: 0.7252 MB / 0.5663 GB, free: 36.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/0.619, allocations: 22.03 MB / 0.5878 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/0.6227, allocations: 391.6 kB / 0.5882 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.623, allocations: 176 kB / 0.5884 GB, free: 13.21 MB / 378.7 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.001083/0.624, allocations: 0.6041 MB / 0.589 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005026/0.6246, allocations: 454.6 kB / 0.5894 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.6352, allocations: 7.729 MB / 0.5969 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.6352, allocations: 44 kB / 0.597 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.6352, allocations: 4 kB / 0.597 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.6353, allocations: 19.92 kB / 0.597 GB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/0.6549, allocations: 13.72 MB / 0.6104 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.655, allocations: 8.156 kB / 0.6104 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002357/0.6573, allocations: 0.5616 MB / 0.611 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003133/0.6605, allocations: 1.692 MB / 0.6126 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002851/0.6608, allocations: 127.9 kB / 0.6127 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02149/0.6823, allocations: 21.87 MB / 0.6341 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6823, allocations: 0 / 0.6341 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2178/0.9001, allocations: 53.62 MB / 0.6865 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/0.9023, allocations: 1.138 MB / 0.6876 GB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005646/0.9029, allocations: 171.8 kB / 0.6877 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/0.9052, allocations: 385.8 kB / 0.6881 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/0.9065, allocations: 0.7444 MB / 0.6888 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002473/0.9068, allocations: 147.9 kB / 0.689 GB, free: 112.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002829/0.9096, allocations: 2.779 MB / 0.6917 GB, free: 109.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9096, allocations: 0 / 0.6917 GB, free: 109.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007136/0.9168, allocations: 3.055 MB / 0.6947 GB, free: 106.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.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.0004995/0.9173, allocations: 424.2 kB / 0.6951 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01547/0.9327, allocations: 13.4 MB / 0.7082 GB, free: 92.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.9328, allocations: 4.656 kB / 0.7082 GB, free: 92.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006279/0.9391, allocations: 5.176 MB / 0.7132 GB, free: 86.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004093/0.9432, allocations: 1.07 MB / 0.7143 GB, free: 85.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.9622, allocations: 18.79 MB / 0.7326 GB, free: 67.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003/0.9652, allocations: 4.239 MB / 0.7368 GB, free: 62.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004311/0.9695, allocations: 1.987 MB / 0.7387 GB, free: 60.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008629/0.9704, allocations: 303.4 kB / 0.739 GB, free: 60.5 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.9704, allocations: 0 / 0.739 GB, free: 60.5 MB / 426.7 MB Notification: Performance of Templates: time 0.2861/1.257, allocations: 112 MB / 0.8484 GB, free: 108.8 MB / 442.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/DCAC/MultiPhaseTwoLevel/MultiPhaseTwoLevel_RL/MultiPhaseTwoLevel_RL.csv","../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