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.001724/0.001724, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002325/0.002325, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.001611/0.001611, allocations: 51.92 kB / 377.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.303, allocations: 53.35 MB / 431.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_RL): time 0.01053/0.3136, allocations: 6.887 MB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.3189, allocations: 2.154 MB / 440.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.3202, allocations: 55.56 kB / 440.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007744/0.3209, allocations: 317.4 kB / 440.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.3227, allocations: 0.5203 MB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001297/0.324, allocations: 0.5069 MB / 441.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008418/0.3324, allocations: 7.244 MB / 448.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004031/0.3365, allocations: 2.568 MB / 451.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/0.3413, allocations: 3.151 MB / 454.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00721/0.3485, allocations: 3.908 MB / 458.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003007/0.3515, allocations: 0.8164 MB / 459.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.3546, allocations: 0.8281 MB / 460.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003394/0.3579, allocations: 2.061 MB / 462.2 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008682/0.3666, allocations: 3.597 MB / 465.8 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.3819, allocations: 10.57 MB / 476.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.789e-06/0.3819, allocations: 0 / 476.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3819, allocations: 0 / 476.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004937/0.3824, allocations: 0 / 476.3 MB, free: 9.438 MB / 382.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.03643/0.4189, allocations: 19.7 MB / 496 MB, free: 5.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4189, allocations: 8.031 kB / 496 MB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001868/0.4208, allocations: 0.6902 MB / 496.7 MB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.4256, allocations: 1.008 MB / 497.7 MB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.437, allocations: 4.299 MB / 0.4903 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004549/0.4375, allocations: 386.2 kB / 0.4906 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002185/0.4396, allocations: 0.5232 MB / 0.4912 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/0.4592, allocations: 8.039 MB / 0.499 GB, free: 6.273 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/0.4593, allocations: 19.94 kB / 0.499 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006122/0.4599, allocations: 208 kB / 0.4992 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001905/0.4601, allocations: 185.7 kB / 0.4994 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/0.4775, allocations: 7.305 MB / 0.5065 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0482/0.5257, allocations: 21.28 MB / 0.5273 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.539, allocations: 6.906 MB / 0.5341 GB, free: 2.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2664/0.8054, allocations: 3.617 MB / 0.5376 GB, free: 99.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004109/0.8058, allocations: 72.67 kB / 0.5377 GB, free: 99.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007973/0.8138, allocations: 4.086 MB / 0.5417 GB, free: 98.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=457): time 9.398e-06/0.8138, allocations: 0 / 0.5417 GB, free: 98.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=458): time 0.03837/0.8522, allocations: 18.61 MB / 0.5598 GB, free: 87.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/0.8524, allocations: 464.9 kB / 0.5603 GB, free: 87.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/0.8585, allocations: 4.303 MB / 0.5645 GB, free: 82.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001186/0.8597, allocations: 173.6 kB / 0.5646 GB, free: 82.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001826/0.8615, allocations: 2.229 MB / 0.5668 GB, free: 80.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/0.8634, allocations: 1.476 MB / 0.5683 GB, free: 78.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/0.8649, allocations: 0.867 MB / 0.5691 GB, free: 78.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.073e-05/0.865, allocations: 301.1 kB / 0.5694 GB, free: 77.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004178/0.8691, allocations: 2.792 MB / 0.5721 GB, free: 74.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.8742, allocations: 3.823 MB / 0.5759 GB, free: 70.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009264/0.8834, allocations: 6.402 MB / 0.5821 GB, free: 63.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-05/0.8834, allocations: 8 kB / 0.5821 GB, free: 63.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01503/0.8985, allocations: 8.163 MB / 0.5901 GB, free: 55.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.8986, allocations: 182.2 kB / 0.5903 GB, free: 55.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.564e-05/0.8986, allocations: 32.02 kB / 0.5903 GB, free: 55.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/0.9018, allocations: 1.726 MB / 0.592 GB, free: 53.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.905, allocations: 0.7755 MB / 0.5927 GB, free: 52.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/0.9259, allocations: 23.29 MB / 0.6155 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004336/0.9303, allocations: 403.6 kB / 0.6159 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000776/0.9311, allocations: 180 kB / 0.616 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007324/0.9384, allocations: 4.451 MB / 0.6204 GB, free: 23.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004854/0.9432, allocations: 3.659 MB / 0.624 GB, free: 19.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008251/0.9515, allocations: 6.131 MB / 0.6299 GB, free: 13.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.928e-05/0.9515, allocations: 11.94 kB / 0.63 GB, free: 13.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization_lambda0): time 0.01223/0.9637, allocations: 7.868 MB / 0.6376 GB, free: 5.234 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.634e-05/0.9638, allocations: 182.2 kB / 0.6378 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-05/0.9639, allocations: 24 kB / 0.6378 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/0.9669, allocations: 1.738 MB / 0.6395 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.97, allocations: 0.7058 MB / 0.6402 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03031/1, allocations: 23.3 MB / 0.663 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/1.005, allocations: 403.6 kB / 0.6634 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/1.006, allocations: 172 kB / 0.6635 GB, free: 9.906 MB / 478.1 MB 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.001736/1.008, allocations: 0.6024 MB / 0.6641 GB, free: 9.289 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/1.009, allocations: 0.4969 MB / 0.6646 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/1.026, allocations: 7.759 MB / 0.6722 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-05/1.026, allocations: 44 kB / 0.6722 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.026, allocations: 4 kB / 0.6722 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.328e-05/1.027, allocations: 19.92 kB / 0.6722 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03241/1.059, allocations: 13.84 MB / 0.6858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.646e-05/1.059, allocations: 0 / 0.6858 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002961/1.062, allocations: 0.5578 MB / 0.6863 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004265/1.066, allocations: 1.697 MB / 0.688 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/1.067, allocations: 127.9 kB / 0.6881 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03031/1.098, allocations: 23.13 MB / 0.7107 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.098, allocations: 4.062 kB / 0.7107 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02403/1.122, allocations: 11.46 MB / 0.7219 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004914/1.126, allocations: 1.174 MB / 0.723 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002676/1.129, allocations: 175.9 kB / 0.7232 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004641/1.134, allocations: 383.5 kB / 0.7235 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00271/1.137, allocations: 0.7481 MB / 0.7243 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008669/1.137, allocations: 151.9 kB / 0.7244 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006003/1.143, allocations: 2.983 MB / 0.7273 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.143, allocations: 0 / 0.7273 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01049/1.154, allocations: 2.23 MB / 0.7295 GB, free: 5.379 MB / 0.5294 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.266/1.42, allocations: 12.35 MB / 0.7416 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02035/1.44, allocations: 13.26 MB / 0.7545 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.44, allocations: 8.625 kB / 0.7545 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007357/1.448, allocations: 5.019 MB / 0.7594 GB, free: 165.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/1.453, allocations: 1.19 MB / 0.7606 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08089/1.534, allocations: 53.78 MB / 0.8131 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003612/1.537, allocations: 4.228 MB / 0.8173 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004475/1.542, allocations: 2.011 MB / 0.8192 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002593/1.544, allocations: 2.233 MB / 0.8214 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of SimCode: time 7.82e-07/1.544, allocations: 0 / 0.8214 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5251/2.069, allocations: 159.7 MB / 0.9773 GB, free: 165.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.92/26.99, allocations: 6.016 kB / 0.9773 GB, free: 165.1 MB / 0.545 GB " [Timeout remaining time 633] (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: 30.029740068999672] 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]'] 27.192215237999335 27.202663018 26.817855782 Calling exit ...