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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 115.5 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 207.6 MB / 231.8 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 51.92 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.09026, allocations: 49.14 MB / 391.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.009012/0.09927, allocations: 6.488 MB / 397.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004552/0.1038, allocations: 1.964 MB / 399.9 MB, free: 220 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/0.1051, allocations: 51.56 kB / 399.9 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.1062, allocations: 301.6 kB / 400.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.1081, allocations: 0.5086 MB / 400.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1093, allocations: 463.3 kB / 401.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007907/0.1172, allocations: 6.908 MB / 408.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005029/0.1222, allocations: 3.658 MB / 411.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004428/0.1266, allocations: 3.042 MB / 414.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006047/0.1327, allocations: 3.76 MB / 418.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002236/0.1349, allocations: 0.7969 MB / 419.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.1372, allocations: 0.793 MB / 420.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002902/0.1401, allocations: 2.01 MB / 422.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006378/0.1465, allocations: 3.481 MB / 425.6 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.1588, allocations: 10.25 MB / 435.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1588, allocations: 0 / 435.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1588, allocations: 0 / 435.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003139/0.1591, allocations: 3.938 kB / 435.9 MB, free: 12.01 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: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02148/0.1806, allocations: 7.707 MB / 443.6 MB, free: 4.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.1806, allocations: 15.89 kB / 443.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002581/0.1832, allocations: 0.6739 MB / 444.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.1857, allocations: 0.692 MB / 445 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009817/0.1955, allocations: 4.043 MB / 449 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004409/0.1959, allocations: 382 kB / 449.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.1978, allocations: 0.5077 MB / 449.9 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01857/0.2164, allocations: 7.88 MB / 457.8 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001747/0.2166, allocations: 19.88 kB / 457.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.2177, allocations: 204 kB / 458 MB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.2179, allocations: 185.5 kB / 458.2 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2013/0.4191, allocations: 7.198 MB / 465.4 MB, free: 57.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04356/0.4627, allocations: 20.86 MB / 486.3 MB, free: 46.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.4727, allocations: 7.756 MB / 494 MB, free: 41.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005888/0.4786, allocations: 3.607 MB / 497.6 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.4788, allocations: 69.98 kB / 497.7 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00598/0.4848, allocations: 4.036 MB / 0.49 GB, free: 34.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=457): time 6.311e-06/0.4848, allocations: 0 / 0.49 GB, free: 34.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=458): time 0.03665/0.5215, allocations: 18.97 MB / 0.5085 GB, free: 15.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.5216, allocations: 462.5 kB / 0.5089 GB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.5263, allocations: 4.01 MB / 0.5128 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008788/0.5272, allocations: 161.6 kB / 0.513 GB, free: 10.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001451/0.5287, allocations: 2.109 MB / 0.5151 GB, free: 8.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001373/0.53, allocations: 1.473 MB / 0.5165 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.5312, allocations: 0.867 MB / 0.5173 GB, free: 6.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.5312, allocations: 301.1 kB / 0.5176 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.5352, allocations: 2.721 MB / 0.5203 GB, free: 3.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004866/0.54, allocations: 3.786 MB / 0.524 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/0.5517, allocations: 6.351 MB / 0.5302 GB, free: 8.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.826e-05/0.5518, allocations: 8 kB / 0.5302 GB, free: 8.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01728/0.5691, allocations: 8.04 MB / 0.538 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.5692, allocations: 182.2 kB / 0.5382 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-05/0.5693, allocations: 28 kB / 0.5382 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004166/0.5735, allocations: 1.732 MB / 0.5399 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/0.5774, allocations: 0.776 MB / 0.5407 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03032/0.6077, allocations: 24.04 MB / 0.5642 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004814/0.6125, allocations: 403.6 kB / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/0.6136, allocations: 184 kB / 0.5647 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009929/0.6235, allocations: 4.302 MB / 0.5689 GB, free: 15.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00664/0.6302, allocations: 3.63 MB / 0.5725 GB, free: 11.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01103/0.6412, allocations: 6.086 MB / 0.5784 GB, free: 4.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.669e-05/0.6412, allocations: 8 kB / 0.5784 GB, free: 4.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01578/0.657, allocations: 7.729 MB / 0.586 GB, free: 13.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.6572, allocations: 182.2 kB / 0.5862 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-05/0.6573, allocations: 32.03 kB / 0.5862 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/0.6614, allocations: 1.72 MB / 0.5879 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.6648, allocations: 0.7214 MB / 0.5886 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03054/0.6954, allocations: 24.06 MB / 0.6121 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/0.7, allocations: 402.2 kB / 0.6124 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008677/0.7009, allocations: 176 kB / 0.6126 GB, free: 0.7383 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.001432/0.7023, allocations: 0.5997 MB / 0.6132 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001238/0.7035, allocations: 477 kB / 0.6136 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/0.7193, allocations: 7.671 MB / 0.6211 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.35e-05/0.7194, allocations: 44 kB / 0.6212 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.7194, allocations: 4 kB / 0.6212 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-05/0.7194, allocations: 23.91 kB / 0.6212 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02813/0.7476, allocations: 13.63 MB / 0.6345 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.7476, allocations: 0 / 0.6345 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/0.7507, allocations: 0.5618 MB / 0.6351 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004064/0.7548, allocations: 1.708 MB / 0.6367 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008778/0.7556, allocations: 119.9 kB / 0.6368 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2249/0.9806, allocations: 23.86 MB / 0.6602 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9806, allocations: 2.75 kB / 0.6602 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.9984, allocations: 11.36 MB / 0.6712 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002618/1.001, allocations: 1.159 MB / 0.6724 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.002, allocations: 165.4 kB / 0.6725 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.005, allocations: 390.8 kB / 0.6729 GB, free: 156.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001534/1.007, allocations: 0.7468 MB / 0.6736 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002897/1.007, allocations: 152.5 kB / 0.6738 GB, free: 156.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003659/1.011, allocations: 2.783 MB / 0.6765 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.011, allocations: 0 / 0.6765 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0089/1.019, allocations: 2.197 MB / 0.6786 GB, free: 153.7 MB / 0.4981 GB 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.01873/1.038, allocations: 12.24 MB / 0.6906 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0181/1.056, allocations: 13.13 MB / 0.7034 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/1.056, allocations: 4.656 kB / 0.7034 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007531/1.064, allocations: 5.048 MB / 0.7084 GB, free: 124.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00606/1.07, allocations: 1.141 MB / 0.7095 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08344/1.153, allocations: 51.91 MB / 0.7602 GB, free: 70.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/1.157, allocations: 4.077 MB / 0.7641 GB, free: 66.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0045/1.162, allocations: 1.975 MB / 0.7661 GB, free: 64.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002604/1.164, allocations: 2.132 MB / 0.7682 GB, free: 62.38 MB / 0.4981 GB Notification: Performance of SimCode: time 1.513e-06/1.164, allocations: 0 / 0.7682 GB, free: 62.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.46/1.624, allocations: 151.7 MB / 0.9163 GB, free: 114.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.82/24.45, allocations: 19.27 kB / 0.9164 GB, free: 114.3 MB / 0.5137 GB " [Timeout remaining time 635] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.312259350990644] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.inductor[2].i', 'inductor.inductor[3].i', 'inductor.inductor[4].i', 'inductor.inductor[5].i', 'inductor.inductor[6].i', 'fundamentalWaveCurrent[1].mean1.y', 'fundamentalWaveCurrent[1].mean2.y', 'fundamentalWaveCurrent[2].mean1.y', 'fundamentalWaveCurrent[2].mean2.y', 'fundamentalWaveCurrent[3].mean1.y', 'fundamentalWaveCurrent[3].mean2.y', 'fundamentalWaveCurrent[4].mean1.y', 'fundamentalWaveCurrent[4].mean2.y', 'fundamentalWaveCurrent[5].mean1.y', 'fundamentalWaveCurrent[5].mean2.y', 'fundamentalWaveCurrent[6].mean1.y', 'fundamentalWaveCurrent[6].mean2.y', 'fundamentalWaveVoltage[1].mean1.y', 'fundamentalWaveVoltage[1].mean2.y', 'fundamentalWaveVoltage[2].mean1.y', 'fundamentalWaveVoltage[2].mean2.y', 'fundamentalWaveVoltage[3].mean1.y', 'fundamentalWaveVoltage[3].mean2.y', 'fundamentalWaveVoltage[4].mean1.y', 'fundamentalWaveVoltage[4].mean2.y', 'fundamentalWaveVoltage[5].mean1.y', 'fundamentalWaveVoltage[5].mean2.y', 'fundamentalWaveVoltage[6].mean1.y', 'fundamentalWaveVoltage[6].mean2.y', 'inverter.ac.pin[1].v', 'inverter.ac.pin[1].i', 'inverter.ac.pin[2].v', 'inverter.ac.pin[2].i', 'inverter.ac.pin[3].v', 'inverter.ac.pin[3].i', 'inverter.ac.pin[4].v', 'inverter.ac.pin[4].i', 'inverter.ac.pin[5].v', 'inverter.ac.pin[5].i', 'inverter.ac.pin[6].v', 'inverter.ac.pin[6].i'] 24.621386931001325 24.628790549 24.467765521 Calling exit ...