Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001307/0.001307, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.00147/0.00147, allocations: 210.5 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_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.001897/0.001897, allocations: 55.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1089, allocations: 53.39 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.2094/0.3183, allocations: 6.858 MB / 433.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003578/0.3219, allocations: 2.144 MB / 435.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009403/0.3228, allocations: 59.69 kB / 435.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006534/0.3235, allocations: 318 kB / 435.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.325, allocations: 0.5282 MB / 436.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3261, allocations: 0.5056 MB / 436.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007163/0.3333, allocations: 7.329 MB / 444.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004733/0.338, allocations: 3.817 MB / 447.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/0.343, allocations: 3.181 MB / 451.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007901/0.3509, allocations: 3.855 MB / 455 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003084/0.354, allocations: 0.817 MB / 455.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.3573, allocations: 0.8286 MB / 456.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003167/0.3604, allocations: 2.072 MB / 458.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008077/0.3685, allocations: 3.601 MB / 462.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.3828, allocations: 10.58 MB / 472.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3828, allocations: 0 / 472.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3828, allocations: 0 / 472.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004004/0.3832, allocations: 0 / 472.9 MB, free: 2.055 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: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.02341/0.4066, allocations: 8.054 MB / 480.9 MB, free: 9.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4066, allocations: 8.031 kB / 480.9 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002038/0.4087, allocations: 0.6942 MB / 481.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004748/0.4134, allocations: 1.019 MB / 482.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/0.4243, allocations: 4.336 MB / 487 MB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004372/0.4247, allocations: 390.9 kB / 487.4 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002031/0.4267, allocations: 0.5116 MB / 487.9 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.4451, allocations: 8.071 MB / 495.9 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.4452, allocations: 23.88 kB / 496 MB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006167/0.4458, allocations: 208 kB / 496.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002005/0.446, allocations: 193.8 kB / 496.4 MB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.4621, allocations: 7.319 MB / 0.4919 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04616/0.5083, allocations: 21.65 MB / 0.513 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.5212, allocations: 7.805 MB / 0.5206 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007152/0.5284, allocations: 3.641 MB / 0.5242 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.5287, allocations: 67.27 kB / 0.5243 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008007/0.5367, allocations: 4.081 MB / 0.5282 GB, free: 13.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 7.193e-06/0.5367, allocations: 0 / 0.5282 GB, free: 13.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.04776/0.5844, allocations: 19.17 MB / 0.547 GB, free: 9.715 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004208/0.5849, allocations: 467.2 kB / 0.5474 GB, free: 9.176 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009242/0.5941, allocations: 4.311 MB / 0.5516 GB, free: 4.848 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001216/0.5953, allocations: 169.6 kB / 0.5518 GB, free: 4.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00313/0.5984, allocations: 2.241 MB / 0.554 GB, free: 2.422 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002469/0.6009, allocations: 1.476 MB / 0.5554 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00372/0.6046, allocations: 0.867 MB / 0.5562 GB, free: 56 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.6048, allocations: 305.1 kB / 0.5565 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006357/0.6112, allocations: 2.788 MB / 0.5593 GB, free: 12.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007349/0.6185, allocations: 3.823 MB / 0.563 GB, free: 8.719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/0.6312, allocations: 6.4 MB / 0.5692 GB, free: 1.914 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.656e-05/0.6312, allocations: 8 kB / 0.5693 GB, free: 1.906 MB / 478.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01898/0.6502, allocations: 8.162 MB / 0.5772 GB, free: 9.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.6504, allocations: 180.4 kB / 0.5774 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.215e-05/0.6505, allocations: 29.25 kB / 0.5774 GB, free: 9.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004347/0.6548, allocations: 1.737 MB / 0.5791 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/0.6586, allocations: 0.7604 MB / 0.5799 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03163/0.6902, allocations: 24.01 MB / 0.6033 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/0.695, allocations: 407.6 kB / 0.6037 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.696, allocations: 179.9 kB / 0.6039 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01045/0.7065, allocations: 4.447 MB / 0.6082 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007118/0.7136, allocations: 3.668 MB / 0.6118 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2362/0.9498, allocations: 6.126 MB / 0.6178 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.344e-05/0.9498, allocations: 5.781 kB / 0.6178 GB, free: 155.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01467/0.9645, allocations: 7.867 MB / 0.6255 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.823e-05/0.9646, allocations: 188.3 kB / 0.6256 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.004e-05/0.9646, allocations: 25.72 kB / 0.6257 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/0.9683, allocations: 1.73 MB / 0.6274 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/0.9716, allocations: 0.7088 MB / 0.6281 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/0.9949, allocations: 24 MB / 0.6515 GB, free: 137.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00493/0.9999, allocations: 397.2 kB / 0.6519 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007181/1.001, allocations: 175.3 kB / 0.652 GB, free: 137.8 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.001387/1.002, allocations: 0.6048 MB / 0.6526 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.003, allocations: 0.4955 MB / 0.6531 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.016, allocations: 7.76 MB / 0.6607 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/1.016, allocations: 42.06 kB / 0.6607 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.016, allocations: 4.406 kB / 0.6607 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/1.016, allocations: 22.22 kB / 0.6608 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02014/1.036, allocations: 13.8 MB / 0.6742 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.036, allocations: 4 kB / 0.6742 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/1.038, allocations: 0.5539 MB / 0.6748 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003011/1.041, allocations: 1.699 MB / 0.6764 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004867/1.042, allocations: 127.9 kB / 0.6766 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01978/1.061, allocations: 23.87 MB / 0.6999 GB, free: 98.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.061, allocations: 3.938 kB / 0.6999 GB, free: 98.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/1.08, allocations: 11.46 MB / 0.7111 GB, free: 87.45 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002993/1.083, allocations: 1.197 MB / 0.7122 GB, free: 86.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/1.085, allocations: 175.9 kB / 0.7124 GB, free: 86.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003459/1.088, allocations: 387.5 kB / 0.7128 GB, free: 85.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001612/1.09, allocations: 0.725 MB / 0.7135 GB, free: 84.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005291/1.09, allocations: 147.9 kB / 0.7136 GB, free: 84.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004451/1.095, allocations: 2.987 MB / 0.7165 GB, free: 81.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.095, allocations: 0 / 0.7165 GB, free: 81.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009686/1.104, allocations: 2.24 MB / 0.7187 GB, free: 79.58 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.01837/1.123, allocations: 12.35 MB / 0.7308 GB, free: 67.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0196/1.142, allocations: 13.26 MB / 0.7437 GB, free: 53.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.142, allocations: 4.656 kB / 0.7437 GB, free: 53.58 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007728/1.15, allocations: 5.034 MB / 0.7486 GB, free: 48.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006378/1.156, allocations: 1.187 MB / 0.7498 GB, free: 47.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09788/1.254, allocations: 53.72 MB / 0.8023 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006237/1.261, allocations: 4.232 MB / 0.8064 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005511/1.266, allocations: 2.011 MB / 0.8084 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00358/1.27, allocations: 2.241 MB / 0.8106 GB, free: 68 kB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.27, allocations: 0 / 0.8106 GB, free: 68 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4887/1.758, allocations: 155.9 MB / 0.9628 GB, free: 69.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.81/24.57, allocations: 3.859 kB / 0.9628 GB, free: 69.13 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.452332423999906] 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]'] 24.74938645097427 24.767989854 24.38177092 Calling exit ...