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.001283/0.001283, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.0014/0.0014, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.321/1.321, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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.001727/0.001727, allocations: 54.73 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2557, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL): time 0.007171/0.2628, allocations: 6.533 MB / 402.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.2668, allocations: 1.962 MB / 404.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009356/0.2677, allocations: 52.12 kB / 404.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.2683, allocations: 306.9 kB / 405.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.2695, allocations: 0.516 MB / 405.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008479/0.2704, allocations: 469.8 kB / 406.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006301/0.2767, allocations: 6.917 MB / 413.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.2801, allocations: 2.461 MB / 415.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004536/0.2846, allocations: 3.045 MB / 418.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006697/0.2913, allocations: 3.805 MB / 422.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001946/0.2933, allocations: 0.8033 MB / 423.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.2957, allocations: 0.793 MB / 424 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003115/0.2988, allocations: 2.014 MB / 426 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0074/0.3062, allocations: 3.477 MB / 429.5 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.3189, allocations: 10.26 MB / 439.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3189, allocations: 0 / 439.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3189, allocations: 0 / 439.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003464/0.3192, allocations: 0 / 439.8 MB, free: 7.758 MB / 350.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.03112/0.3503, allocations: 19.15 MB / 458.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3504, allocations: 11.98 kB / 458.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001387/0.3518, allocations: 0.6739 MB / 459.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.3531, allocations: 0.6959 MB / 460.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00945/0.3626, allocations: 4.007 MB / 464.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004118/0.363, allocations: 385.9 kB / 464.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001544/0.3645, allocations: 0.5077 MB / 465.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.3819, allocations: 7.876 MB / 473.1 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.382, allocations: 19.89 kB / 473.1 MB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000696/0.3827, allocations: 204 kB / 473.3 MB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/0.3829, allocations: 185.5 kB / 473.5 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/0.3988, allocations: 7.203 MB / 480.7 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/0.444, allocations: 20.84 MB / 0.4898 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.4573, allocations: 6.85 MB / 0.4964 GB, free: 2.406 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007963/0.4653, allocations: 3.602 MB / 0.5 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/0.4657, allocations: 67.25 kB / 0.5 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008337/0.474, allocations: 4.038 MB / 0.504 GB, free: 10.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=457): time 9.448e-06/0.474, allocations: 4 kB / 0.504 GB, free: 10.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=458): time 0.04596/0.52, allocations: 18.42 MB / 0.522 GB, free: 8.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000341/0.5203, allocations: 459.4 kB / 0.5224 GB, free: 7.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007164/0.5275, allocations: 4.007 MB / 0.5263 GB, free: 3.617 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009261/0.5284, allocations: 169.6 kB / 0.5265 GB, free: 3.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/0.5307, allocations: 2.107 MB / 0.5285 GB, free: 1.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001945/0.5326, allocations: 1.476 MB / 0.53 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/0.5342, allocations: 0.867 MB / 0.5308 GB, free: 14.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5344, allocations: 308.9 kB / 0.5311 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005016/0.5394, allocations: 2.714 MB / 0.5338 GB, free: 11.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005949/0.5453, allocations: 3.794 MB / 0.5375 GB, free: 7.703 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/0.5559, allocations: 6.351 MB / 0.5437 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.852e-05/0.5559, allocations: 8 kB / 0.5437 GB, free: 0.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01528/0.5712, allocations: 8.037 MB / 0.5515 GB, free: 8.789 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.5714, allocations: 182.2 kB / 0.5517 GB, free: 8.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.489e-05/0.5714, allocations: 28 kB / 0.5517 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.5753, allocations: 1.724 MB / 0.5534 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003713/0.579, allocations: 0.7759 MB / 0.5542 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2096/0.7886, allocations: 23.31 MB / 0.5769 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/0.7928, allocations: 413.1 kB / 0.5773 GB, free: 133.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/0.7939, allocations: 180.7 kB / 0.5775 GB, free: 133.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01012/0.804, allocations: 4.302 MB / 0.5817 GB, free: 132.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004974/0.8089, allocations: 3.629 MB / 0.5852 GB, free: 130.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007577/0.8165, allocations: 6.087 MB / 0.5912 GB, free: 127.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.801e-05/0.8165, allocations: 7.469 kB / 0.5912 GB, free: 127.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01056/0.8271, allocations: 7.73 MB / 0.5987 GB, free: 123.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.198e-05/0.8272, allocations: 186.2 kB / 0.5989 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/0.8272, allocations: 28.03 kB / 0.5989 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/0.83, allocations: 1.725 MB / 0.6006 GB, free: 121.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/0.8328, allocations: 0.7213 MB / 0.6013 GB, free: 120.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/0.852, allocations: 23.32 MB / 0.6241 GB, free: 96.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003996/0.856, allocations: 391.6 kB / 0.6245 GB, free: 96.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005958/0.8566, allocations: 180 kB / 0.6247 GB, free: 96.25 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.001276/0.8578, allocations: 0.5934 MB / 0.6252 GB, free: 95.65 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008584/0.8587, allocations: 487 kB / 0.6257 GB, free: 95.42 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.8701, allocations: 7.675 MB / 0.6332 GB, free: 87.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.437e-05/0.8701, allocations: 44 kB / 0.6332 GB, free: 87.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.8701, allocations: 3.938 kB / 0.6332 GB, free: 87.66 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.568e-05/0.8702, allocations: 23.92 kB / 0.6333 GB, free: 87.64 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.019/0.8892, allocations: 13.67 MB / 0.6466 GB, free: 73.99 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.8892, allocations: 4 kB / 0.6466 GB, free: 73.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/0.8915, allocations: 0.5618 MB / 0.6472 GB, free: 73.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/0.8945, allocations: 1.706 MB / 0.6488 GB, free: 71.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005339/0.8951, allocations: 123.9 kB / 0.6489 GB, free: 71.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.9149, allocations: 23.16 MB / 0.6716 GB, free: 47.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9149, allocations: 240 / 0.6716 GB, free: 47.71 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01543/0.9303, allocations: 11.36 MB / 0.6827 GB, free: 36.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003204/0.9335, allocations: 1.134 MB / 0.6838 GB, free: 35.15 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001268/0.9348, allocations: 163.9 kB / 0.6839 GB, free: 34.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002929/0.9377, allocations: 391.5 kB / 0.6843 GB, free: 34.61 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/0.9391, allocations: 0.7676 MB / 0.685 GB, free: 33.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002837/0.9394, allocations: 151.9 kB / 0.6852 GB, free: 33.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003352/0.9427, allocations: 2.781 MB / 0.6879 GB, free: 30.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9427, allocations: 0 / 0.6879 GB, free: 30.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007332/0.9501, allocations: 2.199 MB / 0.6901 GB, free: 28.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 29 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,inductor.inductor[2].i,inductor.inductor[3].i,inductor.inductor[4].i,inductor.inductor[5].i,inductor.inductor[6].i) * Number of discrete variables: 132 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,signalPWM[4].zeroOrderHold.sampleTrigger,signalPWM[5].zeroOrderHold.sampleTrigger,signalPWM[6].zeroOrderHold.sampleTrigger,$whenCondition36,$whenCondition35,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_p[4].y,inverter.andCondition_p[5].y,inverter.andCondition_p[6].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.andCondition_n[4].y,inverter.andCondition_n[5].y,inverter.andCondition_n[6].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[4].off,inverter.transistor_p.idealGTOThyristor[5].off,inverter.transistor_p.idealGTOThyristor[6].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[4].off,inverter.diode_p.idealDiode[5].off,inverter.diode_p.idealDiode[6].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[4].off,inverter.transistor_n.idealGTOThyristor[5].off,inverter.transistor_n.idealGTOThyristor[6].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,inverter.diode_n.idealDiode[4].off,inverter.diode_n.idealDiode[5].off,inverter.diode_n.idealDiode[6].off,signalPWM[1].notFire,signalPWM[1].zeroOrderHold.firstTrigger,signalPWM[1].zeroOrderHold.ySample,signalPWM[1].sawtooth.T_start,signalPWM[1].sawtooth.count,signalPWM[2].notFire,signalPWM[2].zeroOrderHold.firstTrigger,signalPWM[2].zeroOrderHold.ySample,signalPWM[2].sawtooth.T_start,signalPWM[2].sawtooth.count,signalPWM[3].notFire,signalPWM[3].zeroOrderHold.firstTrigger,signalPWM[3].zeroOrderHold.ySample,signalPWM[3].sawtooth.T_start,signalPWM[3].sawtooth.count,signalPWM[4].notFire,signalPWM[4].zeroOrderHold.firstTrigger,signalPWM[4].zeroOrderHold.ySample,signalPWM[4].sawtooth.T_start,signalPWM[4].sawtooth.count,signalPWM[5].notFire,signalPWM[5].zeroOrderHold.firstTrigger,signalPWM[5].zeroOrderHold.ySample,signalPWM[5].sawtooth.T_start,signalPWM[5].sawtooth.count,signalPWM[6].notFire,signalPWM[6].zeroOrderHold.firstTrigger,signalPWM[6].zeroOrderHold.ySample,signalPWM[6].sawtooth.T_start,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.y,fundamentalWaveCurrent[1].mean2.y,fundamentalWaveCurrent[2].mean1.y,fundamentalWaveCurrent[2].mean2.y,fundamentalWaveCurrent[3].mean1.y,fundamentalWaveCurrent[3].mean2.y,fundamentalWaveCurrent[4].mean1.y,fundamentalWaveCurrent[4].mean2.y,fundamentalWaveCurrent[5].mean1.y,fundamentalWaveCurrent[5].mean2.y,fundamentalWaveCurrent[6].mean1.y,fundamentalWaveCurrent[6].mean2.y,fundamentalWaveVoltage[1].mean1.y,fundamentalWaveVoltage[1].mean2.y,fundamentalWaveVoltage[2].mean1.y,fundamentalWaveVoltage[2].mean2.y,fundamentalWaveVoltage[3].mean1.y,fundamentalWaveVoltage[3].mean2.y,fundamentalWaveVoltage[4].mean1.y,fundamentalWaveVoltage[4].mean2.y,fundamentalWaveVoltage[5].mean1.y,fundamentalWaveVoltage[5].mean2.y,fundamentalWaveVoltage[6].mean1.y,fundamentalWaveVoltage[6].mean2.y) * Number of discrete states: 36 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].sawtooth.count,signalPWM[4].sawtooth.count,signalPWM[5].sawtooth.count,signalPWM[6].sawtooth.count,fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].mean2.x,fundamentalWaveCurrent[4].mean1.x,fundamentalWaveCurrent[4].mean2.x,fundamentalWaveCurrent[5].mean1.x,fundamentalWaveCurrent[5].mean2.x,fundamentalWaveCurrent[6].mean1.x,fundamentalWaveCurrent[6].mean2.x,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,fundamentalWaveVoltage[4].mean1.x,fundamentalWaveVoltage[4].mean2.x,fundamentalWaveVoltage[5].mean1.x,fundamentalWaveVoltage[5].mean2.x,fundamentalWaveVoltage[6].mean1.x,fundamentalWaveVoltage[6].mean2.x,signalPWM[6].zeroOrderHold.ySample,signalPWM[5].zeroOrderHold.ySample,signalPWM[4].zeroOrderHold.ySample,signalPWM[3].zeroOrderHold.ySample,signalPWM[2].zeroOrderHold.ySample,signalPWM[1].zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (344): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 48 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(4,13), (4,13), (4,13), (4,13), (4,13), (4,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01621/0.9663, allocations: 12.23 MB / 0.702 GB, free: 16.41 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01903/0.9853, allocations: 13.13 MB / 0.7148 GB, free: 2.969 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.9853, allocations: 0.6562 kB / 0.7148 GB, free: 2.969 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007935/0.9933, allocations: 5.054 MB / 0.7198 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004813/0.9981, allocations: 1.15 MB / 0.7209 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2611/1.259, allocations: 51.98 MB / 0.7716 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003391/1.263, allocations: 4.075 MB / 0.7756 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004347/1.267, allocations: 1.967 MB / 0.7775 GB, free: 153.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002867/1.27, allocations: 2.131 MB / 0.7796 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/1.27, allocations: 0 / 0.7796 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2227/1.492, allocations: 155.6 MB / 0.9315 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.59/25.08, allocations: 11.61 kB / 0.9316 GB, free: 2.699 MB / 0.4981 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.936504242999945] 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'] 25.28459282699623 25.509772974 25.188213143 Calling exit ...