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.001881/0.001881, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.002256/0.002256, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.147/2.147, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001575, allocations: 44.38 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1303, allocations: 49.45 MB / 350.2 MB, free: 4.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.01221/0.1426, allocations: 6.512 MB / 356.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.1487, allocations: 1.917 MB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.1509, allocations: 47.75 kB / 358.7 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.1524, allocations: 285.6 kB / 358.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.1557, allocations: 0.493 MB / 359.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.1577, allocations: 459.3 kB / 359.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01044/0.1681, allocations: 6.947 MB / 366.8 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2979/0.4661, allocations: 5.12 MB / 371.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006438/0.4726, allocations: 3.015 MB / 375 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009608/0.4823, allocations: 3.743 MB / 378.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004524/0.4869, allocations: 0.8043 MB / 379.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005461/0.4923, allocations: 0.8021 MB / 380.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006014/0.4984, allocations: 2.021 MB / 382.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01203/0.5105, allocations: 3.526 MB / 385.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01676/0.5273, allocations: 10.13 MB / 396 MB, free: 1.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5274, allocations: 3.375 kB / 396 MB, free: 1.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5274, allocations: 0 / 396 MB, free: 1.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0004656/0.5279, allocations: 0 / 396 MB, free: 1.773 MB / 302.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.0351/0.563, allocations: 7.602 MB / 403.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.338e-05/0.5631, allocations: 16.42 kB / 403.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003542/0.5667, allocations: 0.6847 MB / 404.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.571, allocations: 0.666 MB / 405 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/0.5848, allocations: 4.016 MB / 409 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007591/0.5856, allocations: 419.5 kB / 409.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002694/0.5883, allocations: 0.5193 MB / 409.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03021/0.6185, allocations: 8.001 MB / 417.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/0.6189, allocations: 18.53 kB / 417.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002756/0.6217, allocations: 204 kB / 418.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000296/0.622, allocations: 189.7 kB / 418.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02701/0.649, allocations: 7.282 MB / 425.6 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07429/0.7233, allocations: 21.19 MB / 446.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02336/0.7468, allocations: 8.053 MB / 454.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01259/0.7594, allocations: 3.805 MB / 458.6 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.76, allocations: 65.45 kB / 458.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0144/0.7744, allocations: 4.049 MB / 462.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of pre-optimization done (n=457): time 1.947e-05/0.7745, allocations: 0 / 462.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=458): time 0.08429/0.8588, allocations: 18.96 MB / 481.7 MB, free: 15.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005191/0.8594, allocations: 465.5 kB / 482.2 MB, free: 14.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01311/0.8725, allocations: 3.982 MB / 486.1 MB, free: 10.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001632/0.8742, allocations: 169.6 kB / 486.3 MB, free: 10.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004318/0.8785, allocations: 2.09 MB / 488.4 MB, free: 8.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003356/0.8819, allocations: 1.4 MB / 489.8 MB, free: 7.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004866/0.8868, allocations: 0.863 MB / 490.7 MB, free: 6.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.887, allocations: 305.1 kB / 491 MB, free: 5.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009601/0.8966, allocations: 2.72 MB / 493.7 MB, free: 3.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/0.9079, allocations: 3.788 MB / 497.5 MB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01956/0.9275, allocations: 6.374 MB / 0.492 GB, free: 8.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.195e-05/0.9277, allocations: 4 kB / 0.492 GB, free: 8.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.03032/0.958, allocations: 8.064 MB / 0.4999 GB, free: 288 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.9583, allocations: 186.2 kB / 0.5001 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.9584, allocations: 24 kB / 0.5001 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007105/0.9656, allocations: 1.733 MB / 0.5018 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006346/0.9719, allocations: 0.7723 MB / 0.5026 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04722/1.019, allocations: 24.03 MB / 0.526 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008107/1.027, allocations: 407.5 kB / 0.5264 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/1.029, allocations: 180 kB / 0.5266 GB, free: 4.098 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2768/1.306, allocations: 4.314 MB / 0.5308 GB, free: 144.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01082/1.317, allocations: 3.633 MB / 0.5343 GB, free: 143.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0168/1.334, allocations: 6.087 MB / 0.5403 GB, free: 141.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.954e-05/1.334, allocations: 8.094 kB / 0.5403 GB, free: 141.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.02493/1.359, allocations: 7.756 MB / 0.5479 GB, free: 139 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/1.359, allocations: 186.6 kB / 0.5481 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.529e-05/1.359, allocations: 27.28 kB / 0.5481 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005237/1.364, allocations: 1.744 MB / 0.5498 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004855/1.369, allocations: 0.7126 MB / 0.5505 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03197/1.401, allocations: 24.04 MB / 0.574 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007615/1.409, allocations: 388.4 kB / 0.5743 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.41, allocations: 183.1 kB / 0.5745 GB, free: 120.8 MB / 446.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.00216/1.413, allocations: 0.5931 MB / 0.5751 GB, free: 120.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/1.414, allocations: 456.4 kB / 0.5755 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/1.434, allocations: 7.734 MB / 0.5831 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.214e-05/1.434, allocations: 44 kB / 0.5831 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/1.434, allocations: 4 kB / 0.5831 GB, free: 112.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-05/1.434, allocations: 23.92 kB / 0.5831 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03692/1.471, allocations: 13.77 MB / 0.5966 GB, free: 98.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/1.471, allocations: 4 kB / 0.5966 GB, free: 98.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004037/1.475, allocations: 0.5663 MB / 0.5971 GB, free: 97.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004834/1.48, allocations: 1.703 MB / 0.5988 GB, free: 96.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001212/1.481, allocations: 119.9 kB / 0.5989 GB, free: 96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02995/1.511, allocations: 23.87 MB / 0.6222 GB, free: 71.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.511, allocations: 0 / 0.6222 GB, free: 71.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02776/1.539, allocations: 11.38 MB / 0.6333 GB, free: 60.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00461/1.544, allocations: 1.136 MB / 0.6344 GB, free: 58.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002293/1.546, allocations: 163.9 kB / 0.6346 GB, free: 58.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005515/1.551, allocations: 387.5 kB / 0.635 GB, free: 58.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002863/1.554, allocations: 0.7522 MB / 0.6357 GB, free: 57.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007324/1.555, allocations: 151.9 kB / 0.6359 GB, free: 57.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006368/1.561, allocations: 2.761 MB / 0.6385 GB, free: 54.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.561, allocations: 0 / 0.6385 GB, free: 54.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0164/1.578, allocations: 2.211 MB / 0.6407 GB, free: 52.5 MB / 446.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.03292/1.611, allocations: 12.27 MB / 0.6527 GB, free: 40.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.06633/1.677, allocations: 22.13 MB / 0.6743 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.677, allocations: 4.656 kB / 0.6743 GB, free: 17.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01298/1.69, allocations: 5.213 MB / 0.6794 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009886/1.7, allocations: 1.139 MB / 0.6805 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4188/2.119, allocations: 64.51 MB / 0.7435 GB, free: 132.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005216/2.124, allocations: 4.108 MB / 0.7475 GB, free: 131.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007711/2.132, allocations: 1.971 MB / 0.7494 GB, free: 130.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004244/2.136, allocations: 2.138 MB / 0.7515 GB, free: 128.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/2.136, allocations: 0 / 0.7515 GB, free: 128.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6786/2.815, allocations: 151.4 MB / 0.8993 GB, free: 136.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.51/27.32, allocations: 4.406 kB / 0.8993 GB, free: 136.4 MB / 462.1 MB (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)