Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_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.001209/0.001209, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.00132/0.00132, allocations: 194.9 kB / 18 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 43.94 kB / 350.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3131, allocations: 49.43 MB / 400.3 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.00792/0.3211, allocations: 6.531 MB / 406.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003848/0.325, allocations: 1.905 MB / 408.7 MB, free: 356 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.3261, allocations: 39.81 kB / 408.7 MB, free: 316 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008729/0.327, allocations: 301.6 kB / 409 MB, free: 12 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.3288, allocations: 0.5008 MB / 409.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.33, allocations: 467.3 kB / 410 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00647/0.3365, allocations: 6.978 MB / 417 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00693/0.3434, allocations: 5.135 MB / 422.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.3479, allocations: 3.026 MB / 425.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006009/0.3539, allocations: 3.744 MB / 428.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002032/0.356, allocations: 0.8086 MB / 429.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.3579, allocations: 0.8008 MB / 430.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.3599, allocations: 2.026 MB / 432.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00671/0.3666, allocations: 3.539 MB / 436 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.3777, allocations: 10.33 MB / 446.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3777, allocations: 0 / 446.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3777, allocations: 0 / 446.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003396/0.3781, allocations: 0 / 446.4 MB, free: 10.47 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.02272/0.4008, allocations: 7.776 MB / 454.1 MB, free: 2.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/0.4009, allocations: 8.031 kB / 454.2 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002088/0.403, allocations: 0.6902 MB / 454.8 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.4047, allocations: 0.6959 MB / 455.5 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.415, allocations: 4.121 MB / 459.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/0.4155, allocations: 386.2 kB / 460 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/0.417, allocations: 0.5155 MB / 460.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.4329, allocations: 8.012 MB / 468.6 MB, free: 3.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.4331, allocations: 11.89 kB / 468.6 MB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006462/0.4338, allocations: 212 kB / 468.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.4339, allocations: 185.7 kB / 469 MB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/0.4487, allocations: 7.286 MB / 476.3 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04136/0.4901, allocations: 21.04 MB / 497.3 MB, free: 6.879 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/0.5023, allocations: 8.052 MB / 0.4935 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00679/0.5091, allocations: 3.825 MB / 0.4972 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.5094, allocations: 67.17 kB / 0.4973 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007283/0.5167, allocations: 4.053 MB / 0.5013 GB, free: 6.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=457): time 7.654e-06/0.5167, allocations: 0 / 0.5013 GB, free: 6.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.04159/0.5583, allocations: 19.05 MB / 0.5199 GB, free: 3.398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002777/0.5586, allocations: 463.4 kB / 0.5203 GB, free: 2.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006351/0.565, allocations: 3.983 MB / 0.5242 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001323/0.5663, allocations: 169.6 kB / 0.5244 GB, free: 14.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/0.569, allocations: 2.134 MB / 0.5264 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002459/0.5715, allocations: 1.465 MB / 0.5279 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/0.5731, allocations: 0.8631 MB / 0.5287 GB, free: 10.22 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5733, allocations: 309.1 kB / 0.529 GB, free: 9.918 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005252/0.5785, allocations: 2.725 MB / 0.5317 GB, free: 7.172 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006314/0.5849, allocations: 3.786 MB / 0.5354 GB, free: 2.965 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2222/0.8071, allocations: 6.364 MB / 0.5416 GB, free: 125.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.111e-05/0.8072, allocations: 7.906 kB / 0.5416 GB, free: 125.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01266/0.8198, allocations: 8.082 MB / 0.5495 GB, free: 123.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.82, allocations: 182.6 kB / 0.5497 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.404e-05/0.82, allocations: 23.78 kB / 0.5497 GB, free: 123.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.8232, allocations: 1.738 MB / 0.5514 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/0.8264, allocations: 0.7741 MB / 0.5521 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.8473, allocations: 24.03 MB / 0.5756 GB, free: 98.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004833/0.8522, allocations: 403.6 kB / 0.576 GB, free: 98.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009072/0.8532, allocations: 176 kB / 0.5762 GB, free: 98.37 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008515/0.8617, allocations: 4.33 MB / 0.5804 GB, free: 94.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00486/0.8666, allocations: 3.63 MB / 0.5839 GB, free: 89.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007562/0.8742, allocations: 6.092 MB / 0.5899 GB, free: 83.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.689e-05/0.8742, allocations: 11.94 kB / 0.5899 GB, free: 83.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01086/0.8851, allocations: 7.788 MB / 0.5975 GB, free: 75.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.486e-05/0.8852, allocations: 186.2 kB / 0.5977 GB, free: 75.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-05/0.8853, allocations: 24 kB / 0.5977 GB, free: 75.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/0.8882, allocations: 1.726 MB / 0.5994 GB, free: 73.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.8911, allocations: 0.7213 MB / 0.6001 GB, free: 73.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02027/0.9114, allocations: 24.03 MB / 0.6236 GB, free: 48.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/0.9158, allocations: 399.6 kB / 0.6239 GB, free: 48.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007286/0.9166, allocations: 176 kB / 0.6241 GB, free: 47.89 MB / 462.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_last,$PRE.fundamentalWaveVoltage[6].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,$PRE.fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,$PRE.fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,$PRE.fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,$PRE.fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,$PRE.fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,$PRE.fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,$PRE.fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,$PRE.fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,$PRE.fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,$PRE.fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,$PRE.fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,$PRE.fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,$PRE.fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,$PRE.fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,$PRE.fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,$PRE.fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,$PRE.fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,$PRE.fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,$PRE.fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,$PRE.fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,$PRE.fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[1].mean2.y_last,$PRE.fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[1].mean1.y_last,$PRE.fundamentalWaveCurrent[1].mean1.y_last,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.001214/0.9178, allocations: 0.6085 MB / 0.6247 GB, free: 47.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009268/0.9188, allocations: 483.6 kB / 0.6252 GB, free: 46.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.9307, allocations: 7.728 MB / 0.6327 GB, free: 39.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/0.9308, allocations: 48 kB / 0.6327 GB, free: 39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.9308, allocations: 4 kB / 0.6328 GB, free: 38.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.284e-05/0.9309, allocations: 23.91 kB / 0.6328 GB, free: 38.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/0.9538, allocations: 13.7 MB / 0.6462 GB, free: 25.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.9539, allocations: 4 kB / 0.6462 GB, free: 25.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002583/0.9564, allocations: 0.5578 MB / 0.6467 GB, free: 24.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/0.9595, allocations: 1.702 MB / 0.6484 GB, free: 22.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006215/0.9602, allocations: 127.9 kB / 0.6485 GB, free: 22.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/0.9807, allocations: 23.87 MB / 0.6718 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9807, allocations: 4 kB / 0.6718 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02067/1.001, allocations: 11.41 MB / 0.6829 GB, free: 2.566 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004172/1.006, allocations: 1.162 MB / 0.6841 GB, free: 1.383 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001844/1.007, allocations: 167.9 kB / 0.6842 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003968/1.011, allocations: 383.4 kB / 0.6846 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001994/1.014, allocations: 0.7523 MB / 0.6853 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005288/1.014, allocations: 147.9 kB / 0.6855 GB, free: 15.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004616/1.019, allocations: 2.761 MB / 0.6882 GB, free: 13.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 0.6882 GB, free: 13.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009469/1.028, allocations: 2.207 MB / 0.6903 GB, free: 11 MB / 494.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_last,fundamentalWaveCurrent[1].mean2.y_last,fundamentalWaveCurrent[2].mean1.y_last,fundamentalWaveCurrent[2].mean2.y_last,fundamentalWaveCurrent[3].mean1.y_last,fundamentalWaveCurrent[3].mean2.y_last,fundamentalWaveCurrent[4].mean1.y_last,fundamentalWaveCurrent[4].mean2.y_last,fundamentalWaveCurrent[5].mean1.y_last,fundamentalWaveCurrent[5].mean2.y_last,fundamentalWaveCurrent[6].mean1.y_last,fundamentalWaveCurrent[6].mean2.y_last,fundamentalWaveVoltage[1].mean1.y_last,fundamentalWaveVoltage[1].mean2.y_last,fundamentalWaveVoltage[2].mean1.y_last,fundamentalWaveVoltage[2].mean2.y_last,fundamentalWaveVoltage[3].mean1.y_last,fundamentalWaveVoltage[3].mean2.y_last,fundamentalWaveVoltage[4].mean1.y_last,fundamentalWaveVoltage[4].mean2.y_last,fundamentalWaveVoltage[5].mean1.y_last,fundamentalWaveVoltage[5].mean2.y_last,fundamentalWaveVoltage[6].mean1.y_last,fundamentalWaveVoltage[6].mean2.y_last) * 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.02034/1.049, allocations: 12.3 MB / 0.7023 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.02272/1.071, allocations: 13.53 MB / 0.7156 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.071, allocations: 4.656 kB / 0.7156 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.01003/1.081, allocations: 5.233 MB / 0.7207 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007663/1.089, allocations: 1.136 MB / 0.7218 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3097/1.399, allocations: 51.99 MB / 0.7726 GB, free: 151.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003316/1.402, allocations: 4.105 MB / 0.7766 GB, free: 147.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004376/1.407, allocations: 1.971 MB / 0.7785 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/1.409, allocations: 2.143 MB / 0.7806 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/1.409, allocations: 0 / 0.7806 GB, free: 143.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4371/1.846, allocations: 150.6 MB / 0.9276 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.71/23.56, allocations: 4.453 kB / 0.9276 GB, free: 161.8 MB / 0.5294 GB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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_4_0_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1)