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.00148/0.00148, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001403/0.001403, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.464/1.464, allocations: 230.5 MB / 254.8 MB, free: 15.23 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.002208/0.002208, allocations: 71.83 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1107, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.PolyphaseTwoLevel_R): time 0.01007/0.1208, allocations: 6.634 MB / 433.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.1259, allocations: 2.092 MB / 435.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.1274, allocations: 55.56 kB / 435.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1284, allocations: 305.5 kB / 436.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.1306, allocations: 493 kB / 436.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.1319, allocations: 495.2 kB / 437.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004662/0.1365, allocations: 3.84 MB / 440.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002473/0.139, allocations: 1.909 MB / 442.8 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.1414, allocations: 1.636 MB / 444.5 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.1441, allocations: 1.86 MB / 446.3 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006276/0.1448, allocations: 408 kB / 446.7 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007226/0.1455, allocations: 424 kB / 447.1 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2289/0.3743, allocations: 1.022 MB / 448.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.3772, allocations: 1.769 MB / 449.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006366/0.3835, allocations: 5.175 MB / 455.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.3835, allocations: 0 / 455.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3835, allocations: 1.625 kB / 455.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002242/0.3838, allocations: 0 / 455.1 MB, free: 11.24 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.01306/0.3968, allocations: 4.075 MB / 459.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.3969, allocations: 10.55 kB / 459.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008564/0.3977, allocations: 353.8 kB / 459.5 MB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.4002, allocations: 0.5058 MB / 460 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005554/0.4057, allocations: 2.309 MB / 462.3 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.4059, allocations: 189.9 kB / 462.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006114/0.4065, allocations: 258.2 kB / 462.8 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007543/0.4141, allocations: 3.9 MB / 466.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.4141, allocations: 4.438 kB / 466.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002853/0.4144, allocations: 101.7 kB / 466.8 MB, free: 6.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/0.4145, allocations: 96.64 kB / 466.9 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006873/0.4214, allocations: 3.526 MB / 470.4 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/0.4394, allocations: 10.51 MB / 480.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005884/0.4453, allocations: 3.791 MB / 484.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002802/0.4481, allocations: 1.556 MB / 486.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.4482, allocations: 30.81 kB / 486.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003276/0.4515, allocations: 2.009 MB / 488.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=220): time 3.807e-06/0.4515, allocations: 0 / 488.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=220): time 0.01938/0.4709, allocations: 7.313 MB / 495.6 MB, free: 5.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/0.471, allocations: 255.6 kB / 495.9 MB, free: 4.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/0.4752, allocations: 2.26 MB / 498.1 MB, free: 2.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006566/0.4759, allocations: 101.7 kB / 498.2 MB, free: 2.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.4771, allocations: 1.131 MB / 499.4 MB, free: 1.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.4782, allocations: 0.7081 MB / 0.4883 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008009/0.479, allocations: 432.1 kB / 0.4888 GB, free: 296 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4792, allocations: 301.1 kB / 0.489 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/0.4818, allocations: 1.337 MB / 0.4903 GB, free: 14.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/0.4849, allocations: 1.858 MB / 0.4922 GB, free: 12.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005362/0.4902, allocations: 3.091 MB / 0.4952 GB, free: 9.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.4902, allocations: 5.031 kB / 0.4952 GB, free: 9.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007709/0.4979, allocations: 3.931 MB / 0.499 GB, free: 5.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.942e-05/0.498, allocations: 97.09 kB / 0.4991 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.4981, allocations: 12 kB / 0.4991 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/0.5001, allocations: 0.8526 MB / 0.5 GB, free: 4.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.5017, allocations: 381.7 kB / 0.5003 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.5144, allocations: 8.526 MB / 0.5086 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.5171, allocations: 326.4 kB / 0.509 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/0.5174, allocations: 87.98 kB / 0.509 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004427/0.5218, allocations: 2.179 MB / 0.5112 GB, free: 8.891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002763/0.5246, allocations: 1.785 MB / 0.5129 GB, free: 6.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004784/0.5294, allocations: 2.955 MB / 0.5158 GB, free: 3.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.231e-05/0.5294, allocations: 4 kB / 0.5158 GB, free: 3.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.007199/0.5366, allocations: 3.782 MB / 0.5195 GB, free: 72 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5367, allocations: 100.6 kB / 0.5196 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.5367, allocations: 16.62 kB / 0.5196 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.5387, allocations: 0.8487 MB / 0.5204 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.5402, allocations: 351.4 kB / 0.5208 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.5526, allocations: 8.513 MB / 0.5291 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.5553, allocations: 298 kB / 0.5294 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/0.5557, allocations: 83.98 kB / 0.5295 GB, free: 5.77 MB / 430.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.0008765/0.5565, allocations: 398.2 kB / 0.5298 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007314/0.5573, allocations: 258.4 kB / 0.5301 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007558/0.5648, allocations: 3.664 MB / 0.5337 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.5649, allocations: 20 kB / 0.5337 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5649, allocations: 0 / 0.5337 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.5649, allocations: 11.95 kB / 0.5337 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.5777, allocations: 6.733 MB / 0.5403 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.5777, allocations: 0 / 0.5403 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/0.579, allocations: 273.3 kB / 0.5405 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.5809, allocations: 0.8335 MB / 0.5413 GB, free: 9.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/0.5811, allocations: 55.95 kB / 0.5414 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.5932, allocations: 8.494 MB / 0.5497 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5932, allocations: 0.7031 kB / 0.5497 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/0.6035, allocations: 5.535 MB / 0.5551 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/0.6052, allocations: 0.6551 MB / 0.5557 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004848/0.6057, allocations: 83.94 kB / 0.5558 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.6071, allocations: 187.8 kB / 0.556 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007117/0.6079, allocations: 292.6 kB / 0.5563 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/0.608, allocations: 75.95 kB / 0.5563 GB, free: 10.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002527/0.6106, allocations: 1.566 MB / 0.5579 GB, free: 8.461 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6106, allocations: 0 / 0.5579 GB, free: 8.461 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003989/0.6145, allocations: 1.368 MB / 0.5592 GB, free: 7.09 MB / 462.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.01016/0.6247, allocations: 6.243 MB / 0.5653 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01099/0.6357, allocations: 5.978 MB / 0.5711 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.6357, allocations: 3.938 kB / 0.5711 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00393/0.6396, allocations: 2.003 MB / 0.5731 GB, free: 8.883 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.6427, allocations: 0.6289 MB / 0.5737 GB, free: 8.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04783/0.6905, allocations: 26.55 MB / 0.5996 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.6932, allocations: 2.442 MB / 0.602 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002639/0.6958, allocations: 0.9553 MB / 0.603 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/0.6975, allocations: 1.042 MB / 0.604 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.6975, allocations: 3.938 kB / 0.604 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3569/1.054, allocations: 80.87 MB / 0.683 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/17.62, allocations: 6.359 kB / 0.683 GB, free: 169.7 MB / 0.5294 GB " [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.256155458278954] 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.756951754912734 17.775475958 17.387938292 Calling exit ...