Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.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.001588/0.001588, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002135/0.002135, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.53/1.53, allocations: 230.6 MB / 258.3 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 63.91 kB / 378.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2927, allocations: 53.38 MB / 431.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.008829/0.3015, allocations: 6.672 MB / 438.6 MB, free: 164 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.3059, allocations: 2.101 MB / 440.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008996/0.3068, allocations: 55.56 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.3074, allocations: 301.5 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.3087, allocations: 0.5087 MB / 441.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3098, allocations: 499.1 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004269/0.314, allocations: 3.84 MB / 445.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.3159, allocations: 1.315 MB / 447.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.3181, allocations: 1.628 MB / 448.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.3208, allocations: 1.868 MB / 450.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006485/0.3215, allocations: 408 kB / 451.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.3222, allocations: 424 kB / 451.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009419/0.3231, allocations: 1.024 MB / 452.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.3254, allocations: 1.765 MB / 454.3 MB, free: 364 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005505/0.3309, allocations: 5.181 MB / 459.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3309, allocations: 0 / 459.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3309, allocations: 0 / 459.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001094/0.331, allocations: 0 / 459.5 MB, free: 11.15 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: 614 * Number of variables: 614 Notification: Performance of Generate backend data structure: time 0.0117/0.3427, allocations: 6.849 MB / 466.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3427, allocations: 12.03 kB / 466.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004756/0.3432, allocations: 357.8 kB / 466.7 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.3451, allocations: 0.5063 MB / 467.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/0.3496, allocations: 2.245 MB / 469.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.3498, allocations: 185.1 kB / 469.6 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004352/0.3502, allocations: 255.9 kB / 469.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006815/0.3571, allocations: 3.897 MB / 473.8 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.258e-05/0.3571, allocations: 11.94 kB / 473.8 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.3574, allocations: 104 kB / 473.9 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.966e-05/0.3575, allocations: 88.72 kB / 474 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006549/0.364, allocations: 3.523 MB / 477.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/0.3831, allocations: 10.48 MB / 488 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005508/0.3886, allocations: 3.107 MB / 491.1 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.3914, allocations: 1.558 MB / 492.6 MB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.3915, allocations: 34.14 kB / 492.7 MB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003387/0.3949, allocations: 1.997 MB / 494.7 MB, free: 7.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=220): time 6.022e-06/0.3949, allocations: 3.984 kB / 494.7 MB, free: 7.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=220): time 0.01855/0.4135, allocations: 7.244 MB / 0.4902 GB, free: 200 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/0.4137, allocations: 267.5 kB / 0.4904 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003733/0.4174, allocations: 2.248 MB / 0.4926 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003029/0.4177, allocations: 101.6 kB / 0.4927 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001159/0.4189, allocations: 1.14 MB / 0.4938 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007693/0.4196, allocations: 0.6974 MB / 0.4945 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007162/0.4204, allocations: 444.1 kB / 0.4949 GB, free: 11.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4205, allocations: 301.1 kB / 0.4952 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/0.423, allocations: 1.333 MB / 0.4965 GB, free: 9.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.426, allocations: 1.864 MB / 0.4983 GB, free: 7.488 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005103/0.4311, allocations: 3.09 MB / 0.5014 GB, free: 4.199 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/0.4311, allocations: 8 kB / 0.5014 GB, free: 4.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007179/0.4383, allocations: 3.931 MB / 0.5052 GB, free: 236 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.4384, allocations: 93.19 kB / 0.5053 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/0.4385, allocations: 16 kB / 0.5053 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.4405, allocations: 0.8477 MB / 0.5061 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.442, allocations: 379.3 kB / 0.5065 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.4548, allocations: 8.421 MB / 0.5147 GB, free: 6.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.4571, allocations: 338.3 kB / 0.515 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/0.4573, allocations: 87.98 kB / 0.5151 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004284/0.4616, allocations: 2.179 MB / 0.5172 GB, free: 3.738 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002742/0.4644, allocations: 1.77 MB / 0.519 GB, free: 1.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0049/0.4693, allocations: 2.962 MB / 0.5219 GB, free: 14.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.478e-05/0.4693, allocations: 4 kB / 0.5219 GB, free: 14.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.006943/0.4762, allocations: 3.791 MB / 0.5256 GB, free: 10.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.262e-05/0.4763, allocations: 93.09 kB / 0.5257 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.4763, allocations: 12 kB / 0.5257 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.4783, allocations: 0.8556 MB / 0.5265 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.4797, allocations: 347.3 kB / 0.5268 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.4927, allocations: 8.426 MB / 0.5351 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.4953, allocations: 286.8 kB / 0.5353 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.4955, allocations: 87.98 kB / 0.5354 GB, free: 0.543 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 90 (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,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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[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[3].zeroOrderHold.sampleTrigger,$whenCondition14,signalPWM[2].zeroOrderHold.sampleTrigger,$whenCondition16,signalPWM[1].zeroOrderHold.sampleTrigger,$whenCondition18,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[3].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[1].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.diode_p.idealDiode[3].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[1].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[1].off,inverter.andCondition_n[3].y,inverter.andCondition_n[2].y,inverter.andCondition_n[1].y,inverter.andCondition_p[3].y,inverter.andCondition_p[2].y,inverter.andCondition_p[1].y,$whenCondition13,$whenCondition15,$whenCondition17) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,46)} Notification: Performance of prepare postOptimizeDAE: time 0.0008149/0.4963, allocations: 395.4 kB / 0.5358 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.249/0.7453, allocations: 257.4 kB / 0.5361 GB, free: 102.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007988/0.7533, allocations: 3.659 MB / 0.5396 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.7533, allocations: 21.53 kB / 0.5396 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7533, allocations: 0 / 0.5396 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/0.7533, allocations: 11.11 kB / 0.5397 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.7641, allocations: 6.732 MB / 0.5462 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.7641, allocations: 2.312 kB / 0.5462 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.7652, allocations: 267.2 kB / 0.5465 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.7667, allocations: 0.831 MB / 0.5473 GB, free: 99.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.7668, allocations: 57.41 kB / 0.5474 GB, free: 99.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008731/0.7755, allocations: 8.391 MB / 0.5555 GB, free: 93.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7756, allocations: 0 / 0.5555 GB, free: 93.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007374/0.7829, allocations: 5.536 MB / 0.561 GB, free: 87.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.7844, allocations: 0.6038 MB / 0.5615 GB, free: 87.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/0.7848, allocations: 75.95 kB / 0.5616 GB, free: 87.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.786, allocations: 197.9 kB / 0.5618 GB, free: 87.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000555/0.7865, allocations: 297.5 kB / 0.5621 GB, free: 86.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.7867, allocations: 67.95 kB / 0.5622 GB, free: 86.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.7885, allocations: 1.574 MB / 0.5637 GB, free: 85.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7885, allocations: 3.344 kB / 0.5637 GB, free: 85.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002943/0.7914, allocations: 1.362 MB / 0.565 GB, free: 83.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (fundamentalWaveCurrent[1].mean1.x,fundamentalWaveCurrent[1].mean2.x,fundamentalWaveCurrent[2].mean1.x,fundamentalWaveCurrent[2].mean2.x,fundamentalWaveCurrent[3].mean1.x,fundamentalWaveCurrent[3].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) * Number of discrete variables: 66 (signalPWM[1].zeroOrderHold.sampleTrigger,signalPWM[2].zeroOrderHold.sampleTrigger,signalPWM[3].zeroOrderHold.sampleTrigger,$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_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].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,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,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) * Number of discrete states: 18 (signalPWM[1].sawtooth.count,signalPWM[2].sawtooth.count,signalPWM[3].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,fundamentalWaveVoltage[1].mean1.x,fundamentalWaveVoltage[1].mean2.x,fundamentalWaveVoltage[2].mean1.x,fundamentalWaveVoltage[2].mean2.x,fundamentalWaveVoltage[3].mean1.x,fundamentalWaveVoltage[3].mean2.x,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 (163): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,46)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007195/0.7986, allocations: 6.241 MB / 0.5711 GB, free: 77.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008043/0.8067, allocations: 5.981 MB / 0.577 GB, free: 71.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.8067, allocations: 1.188 kB / 0.577 GB, free: 71.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002866/0.8096, allocations: 2 MB / 0.5789 GB, free: 69.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/0.8121, allocations: 0.6434 MB / 0.5795 GB, free: 68.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03341/0.8455, allocations: 26.58 MB / 0.6055 GB, free: 41.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.8472, allocations: 2.439 MB / 0.6079 GB, free: 39.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002102/0.8493, allocations: 0.9475 MB / 0.6088 GB, free: 38.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.8504, allocations: 1.042 MB / 0.6098 GB, free: 37.33 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.8504, allocations: 0 / 0.6098 GB, free: 37.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1601/1.01, allocations: 82.69 MB / 0.6906 GB, free: 3.145 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/17.84, allocations: 3.984 kB / 0.6906 GB, free: 3.141 MB / 494.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_PowerConverters_Examples_DCAC_PolyphaseTwoLevel_PolyphaseTwoLevel_R.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.55018480401486] Failed to read output from testmodel.py, exit status != 0: ['time', 'fundamentalWaveCurrent[1].mean1.y', 'fundamentalWaveCurrent[1].mean2.y', 'fundamentalWaveCurrent[2].mean1.y', 'fundamentalWaveCurrent[2].mean2.y', 'fundamentalWaveCurrent[3].mean1.y', 'fundamentalWaveCurrent[3].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', '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', 'currentSensor.i[1]', 'currentSensor.i[2]', 'currentSensor.i[3]', 'voltageSensor.v[1]', 'voltageSensor.v[2]', 'voltageSensor.v[3]'] 17.978450753726065 18.003862818 17.668144175 Calling exit ...