Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_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.001715/0.001715, allocations: 123.4 kB / 17.79 MB, free: 5.359 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.002236/0.002236, allocations: 204.3 kB / 20.74 MB, free: 2.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 254.1 MB, free: 15.07 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+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.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1101, allocations: 53.34 MB / 426.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.2229/0.3329, allocations: 6.835 MB / 433.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.3368, allocations: 2.134 MB / 435.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.3378, allocations: 60.91 kB / 435.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.3385, allocations: 313.5 kB / 435.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.3398, allocations: 0.519 MB / 436.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.3409, allocations: 0.5037 MB / 436.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006865/0.3477, allocations: 7.256 MB / 444 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004419/0.3521, allocations: 3.818 MB / 447.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.3568, allocations: 3.155 MB / 450.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007669/0.3645, allocations: 3.848 MB / 454.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003476/0.3679, allocations: 0.8168 MB / 455.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004988/0.3729, allocations: 0.833 MB / 456.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005289/0.3782, allocations: 2.063 MB / 458.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.3889, allocations: 3.591 MB / 462.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0177/0.4066, allocations: 10.57 MB / 472.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.4066, allocations: 4 kB / 472.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4066, allocations: 0 / 472.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005607/0.4072, allocations: 0 / 472.7 MB, free: 2.445 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.02535/0.4325, allocations: 8.038 MB / 480.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.4326, allocations: 8.031 kB / 480.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002474/0.435, allocations: 0.6901 MB / 481.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/0.4402, allocations: 1.016 MB / 482.4 MB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/0.451, allocations: 4.333 MB / 486.7 MB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005124/0.4515, allocations: 390.3 kB / 487.1 MB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.4538, allocations: 0.5194 MB / 487.6 MB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/0.4772, allocations: 8.039 MB / 495.7 MB, free: 11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002063/0.4774, allocations: 19.88 kB / 495.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001523/0.4789, allocations: 212 kB / 495.9 MB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.4791, allocations: 185.7 kB / 496.1 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.4985, allocations: 7.305 MB / 0.4916 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04919/0.5477, allocations: 21.3 MB / 0.5124 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/0.5638, allocations: 7.799 MB / 0.52 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008235/0.572, allocations: 3.645 MB / 0.5236 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/0.5724, allocations: 63.27 kB / 0.5236 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009482/0.5819, allocations: 4.093 MB / 0.5276 GB, free: 13.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 8.856e-06/0.5819, allocations: 4 kB / 0.5276 GB, free: 13.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.05064/0.6325, allocations: 19.16 MB / 0.5463 GB, free: 10.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003268/0.6329, allocations: 459.4 kB / 0.5468 GB, free: 10.06 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00719/0.64, allocations: 4.307 MB / 0.551 GB, free: 5.734 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0011/0.6411, allocations: 173.6 kB / 0.5512 GB, free: 5.559 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002535/0.6437, allocations: 2.234 MB / 0.5533 GB, free: 3.312 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00235/0.646, allocations: 1.472 MB / 0.5548 GB, free: 1.828 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002035/0.6481, allocations: 0.867 MB / 0.5556 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6482, allocations: 309 kB / 0.5559 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005948/0.6542, allocations: 2.784 MB / 0.5586 GB, free: 13.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007578/0.6617, allocations: 3.827 MB / 0.5624 GB, free: 9.605 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/0.6752, allocations: 6.4 MB / 0.5686 GB, free: 2.801 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.365e-05/0.6752, allocations: 4 kB / 0.5686 GB, free: 2.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01925/0.6945, allocations: 8.165 MB / 0.5766 GB, free: 10.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.6946, allocations: 188.6 kB / 0.5768 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.008e-05/0.6947, allocations: 25.69 kB / 0.5768 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004527/0.6992, allocations: 1.733 MB / 0.5785 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/0.7032, allocations: 0.7604 MB / 0.5792 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03062/0.7338, allocations: 24.01 MB / 0.6027 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004863/0.7387, allocations: 403.6 kB / 0.6031 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008568/0.7395, allocations: 180 kB / 0.6032 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009567/0.7491, allocations: 4.451 MB / 0.6076 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006932/0.756, allocations: 3.663 MB / 0.6112 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2223/0.9783, allocations: 6.127 MB / 0.6172 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.911e-05/0.9784, allocations: 7.438 kB / 0.6172 GB, free: 156.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.0171/0.9955, allocations: 7.863 MB / 0.6248 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.9956, allocations: 183.4 kB / 0.625 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.406e-05/0.9957, allocations: 24.89 kB / 0.625 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003847/0.9995, allocations: 1.736 MB / 0.6267 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003401/1.003, allocations: 0.7067 MB / 0.6274 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02411/1.027, allocations: 24.01 MB / 0.6509 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/1.031, allocations: 396.6 kB / 0.6512 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008159/1.032, allocations: 177.3 kB / 0.6514 GB, free: 139 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.001319/1.034, allocations: 0.6 MB / 0.652 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.035, allocations: 0.4946 MB / 0.6525 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/1.048, allocations: 7.758 MB / 0.6601 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/1.048, allocations: 41.56 kB / 0.6601 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/1.048, allocations: 3.812 kB / 0.6601 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.895e-05/1.048, allocations: 21.75 kB / 0.6601 GB, free: 136 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02539/1.074, allocations: 13.8 MB / 0.6736 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.074, allocations: 0 / 0.6736 GB, free: 128.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/1.076, allocations: 0.55 MB / 0.6741 GB, free: 127.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/1.079, allocations: 1.699 MB / 0.6758 GB, free: 126 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006289/1.08, allocations: 127.9 kB / 0.6759 GB, free: 125.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.1, allocations: 23.87 MB / 0.6992 GB, free: 101.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.1, allocations: 3.938 kB / 0.6992 GB, free: 101.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.117, allocations: 11.46 MB / 0.7104 GB, free: 89.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/1.12, allocations: 1.189 MB / 0.7116 GB, free: 88.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/1.121, allocations: 175.9 kB / 0.7118 GB, free: 88.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002881/1.124, allocations: 391.5 kB / 0.7121 GB, free: 88.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/1.126, allocations: 0.7249 MB / 0.7128 GB, free: 87.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002999/1.126, allocations: 151.9 kB / 0.713 GB, free: 87.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003783/1.13, allocations: 2.983 MB / 0.7159 GB, free: 84.31 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.13, allocations: 4 kB / 0.7159 GB, free: 84.31 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008616/1.138, allocations: 2.234 MB / 0.7181 GB, free: 82.07 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.01637/1.155, allocations: 12.35 MB / 0.7301 GB, free: 69.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.019/1.174, allocations: 13.26 MB / 0.7431 GB, free: 56.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.174, allocations: 4.656 kB / 0.7431 GB, free: 56.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008218/1.182, allocations: 5.03 MB / 0.748 GB, free: 50.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008109/1.19, allocations: 1.182 MB / 0.7492 GB, free: 49.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08774/1.278, allocations: 53.69 MB / 0.8016 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005978/1.284, allocations: 4.224 MB / 0.8057 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005707/1.289, allocations: 1.999 MB / 0.8077 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004194/1.294, allocations: 2.245 MB / 0.8099 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of SimCode: time 1.372e-06/1.294, allocations: 0 / 0.8099 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4488/1.742, allocations: 155.9 MB / 0.9621 GB, free: 77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.19/24.94, allocations: 13.69 kB / 0.9621 GB, free: 76.98 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_4_1_0_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.819693102996098] 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]'] 25.114284684997983 25.124299507 24.71528546 Calling exit ...