Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001171/0.001171, allocations: 176.9 kB / 16.41 MB, free: 5.727 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.411/1.411, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007122/0.0007123, allocations: 85.02 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002729, allocations: 8 kB / 327 MB, free: 168 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1923, allocations: 47.57 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.005192/0.1976, allocations: 5.637 MB / 380.2 MB, free: 41.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.2008, allocations: 1.855 MB / 382.1 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005963/0.2014, allocations: 33.16 kB / 382.1 MB, free: 39.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004063/0.2018, allocations: 216.5 kB / 382.3 MB, free: 39.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.2029, allocations: 460.9 kB / 382.8 MB, free: 38.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.2036, allocations: 286 kB / 383 MB, free: 38.74 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004913/0.2085, allocations: 6.339 MB / 389.4 MB, free: 34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002901/0.2115, allocations: 3.491 MB / 392.9 MB, free: 30.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.2139, allocations: 1.941 MB / 394.8 MB, free: 28.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.2165, allocations: 2.86 MB / 397.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000454/0.217, allocations: 284 kB / 397.9 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.2176, allocations: 284 kB / 398.2 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.2183, allocations: 1.316 MB / 399.5 MB, free: 23.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008919/0.2192, allocations: 1.112 MB / 400.7 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00435/0.2236, allocations: 7.933 MB / 408.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2236, allocations: 0 / 408.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2236, allocations: 0 / 408.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002092/0.2239, allocations: 0 / 408.6 MB, free: 14.69 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.01129/0.2352, allocations: 6.531 MB / 415.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2352, allocations: 8.031 kB / 415.1 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.2364, allocations: 0.6602 MB / 415.8 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006174/0.2426, allocations: 3.917 MB / 419.7 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003324/0.2429, allocations: 430.5 kB / 420.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007028/0.2437, allocations: 0.5038 MB / 420.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01315/0.2568, allocations: 7.942 MB / 428.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.892e-05/0.2569, allocations: 15.91 kB / 428.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005095/0.2575, allocations: 208 kB / 428.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/0.2576, allocations: 189.4 kB / 429 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.271, allocations: 7.356 MB / 436.3 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03498/0.306, allocations: 21.18 MB / 457.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01184/0.3178, allocations: 8.187 MB / 465.7 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006507/0.3244, allocations: 3.868 MB / 469.6 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.3246, allocations: 71.25 kB / 469.6 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007056/0.3317, allocations: 4.136 MB / 473.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=457): time 6.492e-06/0.3317, allocations: 0 / 473.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=458): time 0.04334/0.3751, allocations: 19.36 MB / 493.1 MB, free: 9.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002611/0.3754, allocations: 463.3 kB / 493.6 MB, free: 8.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/0.3816, allocations: 3.98 MB / 497.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007868/0.3824, allocations: 165.6 kB / 497.7 MB, free: 4.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001954/0.3843, allocations: 2.068 MB / 499.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00164/0.386, allocations: 1.391 MB / 0.4894 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/0.3863, allocations: 92 kB / 0.4895 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003023/0.3866, allocations: 491.8 kB / 0.49 GB, free: 292 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1455/0.5321, allocations: 2.769 MB / 0.4927 GB, free: 104.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005208/0.5373, allocations: 3.867 MB / 0.4965 GB, free: 102.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/0.5422, allocations: 3.228 MB / 0.4996 GB, free: 101.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/0.5422, allocations: 7.469 kB / 0.4996 GB, free: 101.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01157/0.5538, allocations: 8.197 MB / 0.5076 GB, free: 97.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003587/0.5541, allocations: 1.049 MB / 0.5087 GB, free: 96.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.18e-05/0.5542, allocations: 24 kB / 0.5087 GB, free: 96.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/0.5572, allocations: 1.729 MB / 0.5104 GB, free: 94.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.5599, allocations: 0.8268 MB / 0.5112 GB, free: 93.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.5784, allocations: 22 MB / 0.5327 GB, free: 70.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/0.5819, allocations: 475.6 kB / 0.5331 GB, free: 70.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002939/0.5822, allocations: 187.9 kB / 0.5333 GB, free: 70.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.5822, allocations: 4 kB / 0.5333 GB, free: 70.29 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009724/0.592, allocations: 7.589 MB / 0.5407 GB, free: 62.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.623e-05/0.592, allocations: 28 kB / 0.5407 GB, free: 62.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/0.5951, allocations: 1.729 MB / 0.5424 GB, free: 60.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/0.5976, allocations: 0.7565 MB / 0.5432 GB, free: 60.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/0.6164, allocations: 22 MB / 0.5647 GB, free: 37.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003517/0.6199, allocations: 399.7 kB / 0.565 GB, free: 37.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/0.6203, allocations: 176 kB / 0.5652 GB, free: 36.91 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 ($PRE.signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.firstTrigger,$PRE.signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.firstTrigger,$PRE.signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.firstTrigger,$PRE.signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.firstTrigger,$PRE.signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.firstTrigger,$PRE.signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.firstTrigger,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveVoltage[6].mean1.y,fundamentalWaveVoltage[6].mean1.y,$PRE.fundamentalWaveVoltage[6].mean2.y,fundamentalWaveVoltage[6].mean2.y,$PRE.fundamentalWaveVoltage[5].mean1.y,fundamentalWaveVoltage[5].mean1.y,$PRE.fundamentalWaveVoltage[5].mean2.y,fundamentalWaveVoltage[5].mean2.y,$PRE.fundamentalWaveVoltage[4].mean1.y,fundamentalWaveVoltage[4].mean1.y,$PRE.fundamentalWaveVoltage[4].mean2.y,fundamentalWaveVoltage[4].mean2.y,$PRE.fundamentalWaveVoltage[3].mean1.y,fundamentalWaveVoltage[3].mean1.y,$PRE.fundamentalWaveVoltage[3].mean2.y,fundamentalWaveVoltage[3].mean2.y,$PRE.fundamentalWaveVoltage[2].mean1.y,fundamentalWaveVoltage[2].mean1.y,$PRE.fundamentalWaveVoltage[2].mean2.y,fundamentalWaveVoltage[2].mean2.y,$PRE.fundamentalWaveVoltage[1].mean1.y,fundamentalWaveVoltage[1].mean1.y,$PRE.fundamentalWaveVoltage[1].mean2.y,fundamentalWaveVoltage[1].mean2.y,$PRE.fundamentalWaveCurrent[6].mean1.y,fundamentalWaveCurrent[6].mean1.y,$PRE.fundamentalWaveCurrent[6].mean2.y,fundamentalWaveCurrent[6].mean2.y,$PRE.fundamentalWaveCurrent[5].mean1.y,fundamentalWaveCurrent[5].mean1.y,$PRE.fundamentalWaveCurrent[5].mean2.y,fundamentalWaveCurrent[5].mean2.y,$PRE.fundamentalWaveCurrent[4].mean1.y,fundamentalWaveCurrent[4].mean1.y,$PRE.fundamentalWaveCurrent[4].mean2.y,fundamentalWaveCurrent[4].mean2.y,$PRE.fundamentalWaveCurrent[3].mean1.y,fundamentalWaveCurrent[3].mean1.y,$PRE.fundamentalWaveCurrent[3].mean2.y,fundamentalWaveCurrent[3].mean2.y,$PRE.fundamentalWaveCurrent[2].mean1.y,fundamentalWaveCurrent[2].mean1.y,$PRE.fundamentalWaveCurrent[2].mean2.y,fundamentalWaveCurrent[2].mean2.y,$PRE.fundamentalWaveCurrent[1].mean1.y,fundamentalWaveCurrent[1].mean1.y,$PRE.fundamentalWaveCurrent[1].mean2.y,fundamentalWaveCurrent[1].mean2.y,$whenCondition26,signalPWM[6].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.ySample,$whenCondition28,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.ySample,$whenCondition30,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.ySample,$whenCondition32,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.ySample,$whenCondition34,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.ySample,$whenCondition36,signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[1].zeroOrderHold.ySample,$whenCondition35,$whenCondition33,$whenCondition31,$whenCondition29,$whenCondition27,$whenCondition25,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].notFire,$PRE.signalPWM[1].zeroOrderHold.ySample,$PRE.signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.T_start,$PRE.signalPWM[1].sawtooth.count,signalPWM[1].sawtooth.count,signalPWM[2].notFire,$PRE.signalPWM[2].zeroOrderHold.ySample,$PRE.signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.T_start,$PRE.signalPWM[2].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].notFire,$PRE.signalPWM[3].zeroOrderHold.ySample,$PRE.signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.T_start,$PRE.signalPWM[3].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].notFire,$PRE.signalPWM[4].zeroOrderHold.ySample,$PRE.signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.T_start,$PRE.signalPWM[4].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].notFire,$PRE.signalPWM[5].zeroOrderHold.ySample,$PRE.signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.T_start,$PRE.signalPWM[5].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].notFire,$PRE.signalPWM[6].zeroOrderHold.ySample,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 448 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of prepare postOptimizeDAE: time 0.002973/0.6232, allocations: 2.217 MB / 0.5674 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006044/0.6238, allocations: 461.8 kB / 0.5678 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.6352, allocations: 7.889 MB / 0.5755 GB, free: 26.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.6353, allocations: 44 kB / 0.5756 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.6353, allocations: 4 kB / 0.5756 GB, free: 26.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.104e-05/0.6353, allocations: 23.91 kB / 0.5756 GB, free: 26.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.6532, allocations: 13.91 MB / 0.5892 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.6533, allocations: 0 / 0.5892 GB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/0.6557, allocations: 0.6086 MB / 0.5898 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002981/0.6587, allocations: 1.692 MB / 0.5914 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002947/0.659, allocations: 135.9 kB / 0.5915 GB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/0.6808, allocations: 21.86 MB / 0.6129 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6809, allocations: 0 / 0.6129 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01886/0.6997, allocations: 11.63 MB / 0.6242 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/0.7022, allocations: 1.144 MB / 0.6254 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007067/0.7029, allocations: 160.5 kB / 0.6255 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002613/0.7055, allocations: 455.5 kB / 0.6259 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00146/0.707, allocations: 0.7561 MB / 0.6267 GB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002995/0.7073, allocations: 151.9 kB / 0.6268 GB, free: 4.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003815/0.7111, allocations: 2.745 MB / 0.6295 GB, free: 2.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7111, allocations: 0 / 0.6295 GB, free: 2.004 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006572/0.7177, allocations: 2.201 MB / 0.6317 GB, free: 15.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 18} * Non-linear torn systems: 6 {4 13,4 13,4 13,4 13,4 13,4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006517/0.7184, allocations: 415.8 kB / 0.6321 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02119/0.7395, allocations: 13.64 MB / 0.6454 GB, free: 1.426 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/0.7396, allocations: 6.656 kB / 0.6454 GB, free: 1.422 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1465/0.8861, allocations: 5.51 MB / 0.6508 GB, free: 134.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/0.8905, allocations: 1.091 MB / 0.6518 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/0.9093, allocations: 14.4 MB / 0.6659 GB, free: 129.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002999/0.9123, allocations: 4.012 MB / 0.6698 GB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/0.9136, allocations: 324.5 kB / 0.6701 GB, free: 128.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.492e-06/0.9136, allocations: 0 / 0.6701 GB, free: 128.4 MB / 426.7 MB Notification: Performance of Templates: time 0.3543/1.268, allocations: 275.7 MB / 0.9393 GB, free: 26.43 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches