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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001182, allocations: 114.5 kB / 17.73 MB, free: 5.301 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.001225/0.001224, allocations: 187 kB / 18.66 MB, free: 4.375 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.513/1.513, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001382/0.001382, allocations: 51.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09776, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.2047/0.3025, allocations: 6.463 MB / 381.1 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004296/0.3068, allocations: 1.939 MB / 383.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.3081, allocations: 35.69 kB / 383.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008018/0.309, allocations: 304.3 kB / 383.4 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.3109, allocations: 0.5054 MB / 383.9 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.3122, allocations: 460.8 kB / 384.4 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007841/0.32, allocations: 6.946 MB / 391.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006044/0.3261, allocations: 5.021 MB / 396.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005069/0.3312, allocations: 2.993 MB / 399.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007073/0.3383, allocations: 3.713 MB / 403 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00407/0.3424, allocations: 0.7958 MB / 403.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/0.3467, allocations: 0.7941 MB / 404.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004138/0.3509, allocations: 1.998 MB / 406.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0104/0.3613, allocations: 3.493 MB / 410.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.3764, allocations: 10.25 MB / 420.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3764, allocations: 0 / 420.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3764, allocations: 0 / 420.4 MB, free: 2.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003674/0.3768, allocations: 0 / 420.4 MB, free: 2.102 MB / 334.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.02273/0.3995, allocations: 7.707 MB / 428.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.682e-05/0.3996, allocations: 15.89 kB / 428.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004429/0.4041, allocations: 0.6778 MB / 428.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003749/0.4079, allocations: 0.692 MB / 429.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.42, allocations: 4.043 MB / 433.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005104/0.4205, allocations: 386.2 kB / 433.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/0.4232, allocations: 0.5077 MB / 434.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02269/0.4459, allocations: 7.88 MB / 442.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000281/0.4463, allocations: 15.89 kB / 442.3 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001918/0.4482, allocations: 204 kB / 442.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002215/0.4484, allocations: 189.5 kB / 442.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01712/0.4656, allocations: 7.199 MB / 449.9 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04847/0.5141, allocations: 20.86 MB / 470.7 MB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/0.5288, allocations: 8.051 MB / 478.8 MB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0079/0.5368, allocations: 3.818 MB / 482.6 MB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/0.5372, allocations: 63.27 kB / 482.6 MB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008683/0.5459, allocations: 4.045 MB / 486.7 MB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=457): time 9.487e-06/0.546, allocations: 0 / 486.7 MB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=458): time 0.05067/0.5966, allocations: 19.02 MB / 0.4939 GB, free: 11.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003361/0.597, allocations: 459.3 kB / 0.4943 GB, free: 11.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008103/0.6051, allocations: 4.007 MB / 0.4982 GB, free: 7.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001131/0.6063, allocations: 165.6 kB / 0.4984 GB, free: 6.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002883/0.6092, allocations: 2.103 MB / 0.5004 GB, free: 4.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002511/0.6118, allocations: 1.48 MB / 0.5019 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003595/0.6154, allocations: 0.867 MB / 0.5027 GB, free: 2.445 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6155, allocations: 309.1 kB / 0.503 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006265/0.6218, allocations: 2.721 MB / 0.5057 GB, free: 15.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007289/0.6291, allocations: 3.786 MB / 0.5094 GB, free: 11.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/0.6417, allocations: 6.355 MB / 0.5156 GB, free: 4.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.455e-05/0.6418, allocations: 8 kB / 0.5156 GB, free: 4.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01991/0.6617, allocations: 8.088 MB / 0.5235 GB, free: 12.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.662, allocations: 182.2 kB / 0.5237 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.452e-05/0.6621, allocations: 28.75 kB / 0.5237 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004298/0.6664, allocations: 1.727 MB / 0.5254 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/0.6703, allocations: 0.7728 MB / 0.5261 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02855/0.6988, allocations: 24.03 MB / 0.5496 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004561/0.7035, allocations: 407.6 kB / 0.55 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2084/0.9119, allocations: 174.3 kB / 0.5501 GB, free: 144.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00969/0.9217, allocations: 4.305 MB / 0.5543 GB, free: 144.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006804/0.9285, allocations: 3.631 MB / 0.5579 GB, free: 143.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01262/0.9412, allocations: 6.086 MB / 0.5638 GB, free: 140.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.808e-05/0.9413, allocations: 8.703 kB / 0.5638 GB, free: 140.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01842/0.9597, allocations: 7.789 MB / 0.5715 GB, free: 138.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.9599, allocations: 185.8 kB / 0.5716 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.055e-05/0.96, allocations: 27.56 kB / 0.5717 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003823/0.9638, allocations: 1.719 MB / 0.5733 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003956/0.9678, allocations: 0.7232 MB / 0.574 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/0.9916, allocations: 24.04 MB / 0.5975 GB, free: 120.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/0.9963, allocations: 399.6 kB / 0.5979 GB, free: 120.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/0.9974, allocations: 176 kB / 0.5981 GB, free: 120.1 MB / 478.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.002532/0.9999, allocations: 0.6048 MB / 0.5987 GB, free: 119.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001877/1.002, allocations: 481.7 kB / 0.5991 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01591/1.018, allocations: 7.72 MB / 0.6067 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.018, allocations: 44 kB / 0.6067 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/1.018, allocations: 7.938 kB / 0.6067 GB, free: 111.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/1.018, allocations: 23.91 kB / 0.6067 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02926/1.047, allocations: 13.66 MB / 0.6201 GB, free: 97.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/1.047, allocations: 4 kB / 0.6201 GB, free: 97.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/1.05, allocations: 0.5618 MB / 0.6206 GB, free: 97.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/1.054, allocations: 1.705 MB / 0.6223 GB, free: 95.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008992/1.055, allocations: 123.9 kB / 0.6224 GB, free: 95.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02139/1.076, allocations: 23.89 MB / 0.6457 GB, free: 70.87 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.076, allocations: 0 / 0.6457 GB, free: 70.87 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01996/1.096, allocations: 11.42 MB / 0.6569 GB, free: 59.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003519/1.1, allocations: 1.166 MB / 0.658 GB, free: 58.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001784/1.101, allocations: 163.9 kB / 0.6582 GB, free: 58.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/1.105, allocations: 387.5 kB / 0.6586 GB, free: 57.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001904/1.107, allocations: 0.7522 MB / 0.6593 GB, free: 56.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007843/1.108, allocations: 147.9 kB / 0.6594 GB, free: 56.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00472/1.113, allocations: 2.777 MB / 0.6621 GB, free: 54.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.113, allocations: 0 / 0.6621 GB, free: 54.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01094/1.124, allocations: 2.199 MB / 0.6643 GB, free: 51.84 MB / 478.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.02143/1.145, allocations: 12.29 MB / 0.6763 GB, free: 39.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02144/1.167, allocations: 13.53 MB / 0.6895 GB, free: 25.63 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.167, allocations: 8.719 kB / 0.6895 GB, free: 25.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008393/1.175, allocations: 5.235 MB / 0.6946 GB, free: 20.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006709/1.182, allocations: 1.133 MB / 0.6957 GB, free: 19.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3036/1.486, allocations: 51.99 MB / 0.7465 GB, free: 160 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006528/1.492, allocations: 4.078 MB / 0.7505 GB, free: 159.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006275/1.498, allocations: 1.969 MB / 0.7524 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004272/1.503, allocations: 2.13 MB / 0.7545 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.966e-06/1.503, allocations: 0 / 0.7545 GB, free: 159.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2187/1.722, allocations: 150.7 MB / 0.9017 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.03/23.75, allocations: 9.891 kB / 0.9017 GB, free: 31.46 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_DCAC_MultiPhaseTwoLevel_MultiPhaseTwoLevel_RL.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL.pipe 2>&1)