Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 121.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002246/0.002246, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.486/1.486, allocations: 230.5 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_4_1_0-beta_om_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_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 53.34 MB / 427 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.2163/0.3301, allocations: 6.837 MB / 433.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004/0.3341, allocations: 2.129 MB / 436 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.3352, allocations: 62.09 kB / 436.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006711/0.3359, allocations: 317 kB / 436.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.3374, allocations: 0.5208 MB / 436.9 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3384, allocations: 0.5025 MB / 437.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007/0.3454, allocations: 7.253 MB / 444.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004974/0.3504, allocations: 3.817 MB / 448.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005217/0.3556, allocations: 3.156 MB / 451.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007903/0.3635, allocations: 3.853 MB / 455.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003093/0.3666, allocations: 0.8152 MB / 456.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.3703, allocations: 0.8292 MB / 457.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00339/0.3737, allocations: 2.063 MB / 459.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01016/0.3838, allocations: 3.59 MB / 462.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.399, allocations: 10.57 MB / 473.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.399, allocations: 0 / 473.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.399, allocations: 0 / 473.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004435/0.3994, allocations: 0 / 473.3 MB, free: 2.461 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1268 * Number of variables: 1268 Notification: Performance of Generate backend data structure: time 0.02455/0.424, allocations: 8.045 MB / 481.4 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.424, allocations: 16.02 kB / 481.4 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00249/0.4265, allocations: 0.6785 MB / 482.1 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005486/0.432, allocations: 1.016 MB / 483.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.4431, allocations: 4.338 MB / 487.4 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.4435, allocations: 390.4 kB / 487.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.4454, allocations: 0.5116 MB / 488.3 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01959/0.465, allocations: 8.047 MB / 496.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/0.4651, allocations: 15.89 kB / 496.4 MB, free: 11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.4662, allocations: 212 kB / 496.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.4664, allocations: 185.7 kB / 496.8 MB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.4832, allocations: 7.306 MB / 0.4923 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04582/0.529, allocations: 21.3 MB / 0.5131 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01402/0.5431, allocations: 7.811 MB / 0.5207 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00791/0.551, allocations: 3.637 MB / 0.5243 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/0.5513, allocations: 67.25 kB / 0.5243 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007981/0.5593, allocations: 4.085 MB / 0.5283 GB, free: 13.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 9.778e-06/0.5593, allocations: 4 kB / 0.5283 GB, free: 13.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04651/0.6058, allocations: 19.16 MB / 0.547 GB, free: 10.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003682/0.6062, allocations: 467.4 kB / 0.5475 GB, free: 10.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007737/0.6139, allocations: 4.311 MB / 0.5517 GB, free: 5.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001279/0.6152, allocations: 169.6 kB / 0.5518 GB, free: 5.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002728/0.6179, allocations: 2.226 MB / 0.554 GB, free: 3.328 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002557/0.6205, allocations: 1.472 MB / 0.5555 GB, free: 1.844 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.6222, allocations: 0.8748 MB / 0.5563 GB, free: 0.957 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6223, allocations: 305.1 kB / 0.5566 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005564/0.6279, allocations: 2.784 MB / 0.5593 GB, free: 13.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007165/0.6351, allocations: 3.819 MB / 0.563 GB, free: 9.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/0.6467, allocations: 6.408 MB / 0.5693 GB, free: 2.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.829e-05/0.6468, allocations: 8 kB / 0.5693 GB, free: 2.801 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0185/0.6653, allocations: 8.162 MB / 0.5773 GB, free: 10.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.6654, allocations: 178.2 kB / 0.5775 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-05/0.6655, allocations: 28.03 kB / 0.5775 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004331/0.6698, allocations: 1.735 MB / 0.5792 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.6735, allocations: 0.7643 MB / 0.5799 GB, free: 7.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02996/0.7035, allocations: 24.01 MB / 0.6034 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/0.7081, allocations: 403.6 kB / 0.6038 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008919/0.709, allocations: 184 kB / 0.6039 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009036/0.718, allocations: 4.447 MB / 0.6083 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006359/0.7244, allocations: 3.659 MB / 0.6118 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2548/0.9792, allocations: 6.126 MB / 0.6178 GB, free: 155 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.543e-05/0.9793, allocations: 6.938 kB / 0.6178 GB, free: 155 MB / 0.5137 GB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01615/0.9954, allocations: 7.868 MB / 0.6255 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.9955, allocations: 182.8 kB / 0.6257 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.526e-05/0.9956, allocations: 24.81 kB / 0.6257 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/0.9995, allocations: 1.729 MB / 0.6274 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003425/1.003, allocations: 0.7156 MB / 0.6281 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/1.029, allocations: 24.01 MB / 0.6515 GB, free: 138 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004973/1.034, allocations: 397.5 kB / 0.6519 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007155/1.035, allocations: 173 kB / 0.6521 GB, free: 137.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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[5].zeroOrderHold.sampleTrigger,$whenCondition28,signalPWM[4].zeroOrderHold.sampleTrigger,$whenCondition30,signalPWM[3].zeroOrderHold.sampleTrigger,$whenCondition32,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition34,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition36,signalPWM[6].sawtooth.count,$PRE.signalPWM[6].sawtooth.count,signalPWM[6].sawtooth.T_start,$PRE.signalPWM[6].sawtooth.T_start,signalPWM[6].zeroOrderHold.ySample,$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,signalPWM[5].zeroOrderHold.ySample,$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,signalPWM[4].zeroOrderHold.ySample,$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,signalPWM[3].zeroOrderHold.ySample,$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,signalPWM[2].zeroOrderHold.ySample,$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,signalPWM[1].zeroOrderHold.ySample,$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.0013/1.036, allocations: 0.6038 MB / 0.6527 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/1.037, allocations: 0.4987 MB / 0.6532 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.05, allocations: 7.755 MB / 0.6607 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/1.051, allocations: 45.78 kB / 0.6608 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.051, allocations: 0 / 0.6608 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.961e-05/1.051, allocations: 23.06 kB / 0.6608 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.072, allocations: 13.78 MB / 0.6743 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/1.072, allocations: 11.7 kB / 0.6743 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/1.074, allocations: 0.5478 MB / 0.6748 GB, free: 126.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/1.077, allocations: 1.708 MB / 0.6765 GB, free: 124.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005308/1.078, allocations: 123.9 kB / 0.6766 GB, free: 124.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/1.097, allocations: 23.87 MB / 0.6999 GB, free: 99.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.097, allocations: 6.625 kB / 0.6999 GB, free: 99.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/1.114, allocations: 11.45 MB / 0.7111 GB, free: 88.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002882/1.117, allocations: 1.193 MB / 0.7123 GB, free: 87.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001406/1.119, allocations: 175.9 kB / 0.7124 GB, free: 87.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/1.122, allocations: 387.5 kB / 0.7128 GB, free: 86.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001465/1.124, allocations: 0.7288 MB / 0.7135 GB, free: 86.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003624/1.124, allocations: 151.9 kB / 0.7137 GB, free: 85.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004027/1.128, allocations: 2.983 MB / 0.7166 GB, free: 82.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/1.128, allocations: 0 / 0.7166 GB, free: 82.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01014/1.138, allocations: 2.23 MB / 0.7188 GB, free: 80.66 MB / 0.5137 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_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.01803/1.156, allocations: 12.35 MB / 0.7308 GB, free: 68.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02118/1.177, allocations: 13.26 MB / 0.7438 GB, free: 54.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/1.177, allocations: 4.656 kB / 0.7438 GB, free: 54.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008894/1.186, allocations: 5.025 MB / 0.7487 GB, free: 49.54 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008529/1.195, allocations: 1.184 MB / 0.7498 GB, free: 48.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09461/1.289, allocations: 53.69 MB / 0.8023 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005689/1.295, allocations: 4.22 MB / 0.8064 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005687/1.301, allocations: 2.003 MB / 0.8083 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004228/1.305, allocations: 2.241 MB / 0.8105 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of SimCode: time 1.422e-06/1.305, allocations: 0 / 0.8105 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4799/1.785, allocations: 155.9 MB / 0.9628 GB, free: 70.68 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.07/25.86, allocations: 6.891 kB / 0.9628 GB, free: 70.68 MB / 0.545 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.669948431663215] 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', 'currentSensor.i[1]', 'currentSensor.i[2]', 'currentSensor.i[3]', 'voltageSensor.v[1]', 'voltageSensor.v[2]', 'voltageSensor.v[3]'] 26.03640184411779 26.046603519 25.64518291 Calling exit ...