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.001079/0.001079, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001099/0.0011, allocations: 198 kB / 18.07 MB, free: 5.41 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.403/1.403, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001404/0.001404, allocations: 43.92 kB / 280 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09459, allocations: 46.63 MB / 326.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.008318/0.1029, allocations: 6.441 MB / 333.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.1076, allocations: 1.914 MB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.1091, allocations: 39.75 kB / 335 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.1103, allocations: 230.4 kB / 335.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.1125, allocations: 477.5 kB / 335.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.114, allocations: 407.6 kB / 336.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007876/0.1219, allocations: 6.869 MB / 343 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006743/0.1287, allocations: 4.498 MB / 347.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004197/0.1329, allocations: 2.335 MB / 349.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006316/0.1393, allocations: 3.381 MB / 353.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002118/0.1414, allocations: 424 kB / 353.6 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.1437, allocations: 420 kB / 354 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002859/0.1466, allocations: 1.549 MB / 355.6 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006636/0.1533, allocations: 3.031 MB / 358.6 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.1637, allocations: 9.62 MB / 368.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1638, allocations: 0 / 368.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1638, allocations: 3.938 kB / 368.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003549/0.1641, allocations: 0 / 368.2 MB, free: 11.05 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.01998/0.1841, allocations: 7.533 MB / 375.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1842, allocations: 11.97 kB / 375.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.1867, allocations: 0.6612 MB / 376.4 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1696/0.3563, allocations: 3.943 MB / 380.4 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008218/0.3571, allocations: 413.3 kB / 380.8 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/0.3601, allocations: 0.5046 MB / 381.3 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/0.3785, allocations: 7.881 MB / 389.2 MB, free: 43.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.3787, allocations: 23.61 kB / 389.2 MB, free: 43.56 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004999/0.3792, allocations: 204.7 kB / 389.4 MB, free: 43.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.3793, allocations: 181.3 kB / 389.6 MB, free: 43.4 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.3926, allocations: 7.2 MB / 396.8 MB, free: 39.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.4287, allocations: 21.02 MB / 417.8 MB, free: 19.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.439, allocations: 8.043 MB / 425.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005465/0.4445, allocations: 3.786 MB / 429.6 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002541/0.4448, allocations: 66.86 kB / 429.7 MB, free: 7.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005945/0.4508, allocations: 4.053 MB / 433.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=457): time 6.993e-06/0.4508, allocations: 0 / 433.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=458): time 0.04075/0.4915, allocations: 18.93 MB / 452.6 MB, free: 440 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002764/0.4919, allocations: 460.7 kB / 453.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006264/0.4981, allocations: 4.015 MB / 457.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00104/0.4992, allocations: 165.6 kB / 457.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001925/0.5011, allocations: 2.063 MB / 459.3 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001893/0.503, allocations: 1.398 MB / 460.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/0.5047, allocations: 0.8668 MB / 461.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.524e-05/0.5048, allocations: 301.1 kB / 461.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/0.5097, allocations: 2.718 MB / 464.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006928/0.5167, allocations: 3.797 MB / 468.4 MB, free: 108 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.5277, allocations: 6.355 MB / 474.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-05/0.5278, allocations: 8 kB / 474.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01561/0.5434, allocations: 8.057 MB / 482.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.5436, allocations: 186.2 kB / 483 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.214e-05/0.5436, allocations: 24 kB / 483 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003943/0.5476, allocations: 1.737 MB / 484.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.5513, allocations: 0.7721 MB / 485.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02767/0.5789, allocations: 22.02 MB / 0.4957 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/0.5837, allocations: 403.6 kB / 0.4961 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009948/0.5847, allocations: 176 kB / 0.4962 GB, free: 6.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009467/0.5942, allocations: 4.31 MB / 0.5004 GB, free: 2.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006228/0.6005, allocations: 3.627 MB / 0.504 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01036/0.6109, allocations: 6.086 MB / 0.5099 GB, free: 7.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.467e-05/0.6109, allocations: 8 kB / 0.5099 GB, free: 7.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01534/0.6263, allocations: 7.758 MB / 0.5175 GB, free: 112 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.6265, allocations: 190.4 kB / 0.5177 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.83e-05/0.6266, allocations: 29.73 kB / 0.5177 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004194/0.6308, allocations: 1.731 MB / 0.5194 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/0.6345, allocations: 0.7213 MB / 0.5201 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2107/0.8452, allocations: 22.02 MB / 0.5416 GB, free: 135.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/0.8501, allocations: 395.7 kB / 0.542 GB, free: 135.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008894/0.851, allocations: 175 kB / 0.5422 GB, free: 135.4 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.001665/0.8527, allocations: 0.6012 MB / 0.5427 GB, free: 135.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/0.8538, allocations: 459 kB / 0.5432 GB, free: 135.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01419/0.868, allocations: 7.733 MB / 0.5507 GB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/0.8681, allocations: 43.28 kB / 0.5508 GB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.8681, allocations: 2.062 kB / 0.5508 GB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/0.8681, allocations: 21.84 kB / 0.5508 GB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/0.8933, allocations: 13.72 MB / 0.5642 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.8933, allocations: 3.25 kB / 0.5642 GB, free: 128.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/0.8959, allocations: 0.5678 MB / 0.5647 GB, free: 128 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/0.8992, allocations: 1.703 MB / 0.5664 GB, free: 127 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006339/0.8998, allocations: 127.8 kB / 0.5665 GB, free: 126.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/0.919, allocations: 21.87 MB / 0.5879 GB, free: 104.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9191, allocations: 5.969 kB / 0.5879 GB, free: 104.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/0.9365, allocations: 11.37 MB / 0.599 GB, free: 93.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003143/0.9397, allocations: 1.139 MB / 0.6001 GB, free: 92.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/0.941, allocations: 163.9 kB / 0.6003 GB, free: 92.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0031/0.9441, allocations: 383.8 kB / 0.6006 GB, free: 91.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001699/0.9458, allocations: 0.756 MB / 0.6014 GB, free: 90.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004802/0.9463, allocations: 148.5 kB / 0.6015 GB, free: 90.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003879/0.9502, allocations: 2.781 MB / 0.6042 GB, free: 88.01 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.9502, allocations: 0 / 0.6042 GB, free: 88.01 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008553/0.9588, allocations: 2.195 MB / 0.6064 GB, free: 85.82 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.001011/0.9598, allocations: 424 kB / 0.6068 GB, free: 85.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01814/0.978, allocations: 13.39 MB / 0.6199 GB, free: 71.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.978, allocations: 8.562 kB / 0.6199 GB, free: 71.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007602/0.9856, allocations: 5.187 MB / 0.6249 GB, free: 66.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004965/0.9906, allocations: 1.061 MB / 0.626 GB, free: 65.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/1.011, allocations: 14.82 MB / 0.6404 GB, free: 50.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003748/1.014, allocations: 4.077 MB / 0.6444 GB, free: 46.42 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004984/1.019, allocations: 1.967 MB / 0.6463 GB, free: 44.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.021, allocations: 307.3 kB / 0.6466 GB, free: 44.15 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/1.021, allocations: 0 / 0.6466 GB, free: 44.15 MB / 430.1 MB Notification: Performance of Templates: time 0.3342/1.355, allocations: 99.28 MB / 0.7436 GB, free: 120.5 MB / 446.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 -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/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