Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM.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.001595/0.001595, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.001908/0.001908, allocations: 218.9 kB / 24.5 MB, free: 3.926 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.581/1.581, allocations: 230.6 MB / 258.3 MB, free: 7.785 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: translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|potentialSensor.phi.1.|potentialSensor.phi.2.|potentialSensor.phi.3.|harmonic.mean1.x|harmonic.mean2.x|harmonic.y_rms|harmonic.y_arg|integrator.y|filter.1..x.1.|filter.1..x.2.|filter.2..x.1.|filter.2..x.2.|toPolar.y.1.|toPolar.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM") translateModel(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|potentialSensor.phi.1.|potentialSensor.phi.2.|potentialSensor.phi.3.|harmonic.mean1.x|harmonic.mean2.x|harmonic.y_rms|harmonic.y_arg|integrator.y|filter.1..x.1.|filter.1..x.2.|filter.2..x.1.|filter.2..x.2.|toPolar.y.1.|toPolar.y.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.505e-05, allocations: 2.281 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.PolyphaseTwoLevel.ThreePhaseTwoLevel_PWM): time 0.1753/0.1753, allocations: 5.55 MB / 384.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007921/0.1832, allocations: 4.45 MB / 389 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.1845, allocations: 52.34 kB / 389 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.1852, allocations: 301.4 kB / 389.3 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.1865, allocations: 487.3 kB / 389.8 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004848/0.1914, allocations: 1.867 MB / 391.6 MB, free: 8.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00451/0.1959, allocations: 3.422 MB / 395.1 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009824/0.1969, allocations: 0.4967 MB / 395.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/0.1989, allocations: 1.185 MB / 396.7 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.2002, allocations: 1.022 MB / 397.8 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.2005, allocations: 162.7 kB / 397.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.2012, allocations: 341.1 kB / 398.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001923/0.2032, allocations: 2.789 MB / 401.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009795/0.2041, allocations: 1.665 MB / 402.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.2044, allocations: 88.53 kB / 402.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002683/0.2046, allocations: 46.11 kB / 402.8 MB, free: 2.789 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 (212) * Number of variables: 402 (184) Notification: Performance of [SIM] Bindings: time 0.007464/0.2121, allocations: 7.144 MB / 410 MB, free: 13.7 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001244/0.2134, allocations: 0.8131 MB / 410.8 MB, free: 13.05 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.004981/0.2183, allocations: 4.446 MB / 415.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001367/0.2197, allocations: 0.7656 MB / 416 MB, free: 7.941 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.006628/0.2263, allocations: 4.551 MB / 420.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009963/0.2273, allocations: 0.6047 MB / 421.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005151/0.2278, allocations: 419.9 kB / 421.6 MB, free: 1.852 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001163/0.229, allocations: 0.9556 MB / 422.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0007045/0.2297, allocations: 470.7 kB / 423 MB, free: 408 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001989/0.2317, allocations: 1.666 MB / 424.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.006418/0.2381, allocations: 4.509 MB / 429.2 MB, free: 9.984 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004005/0.2421, allocations: 3.567 MB / 432.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.004259/0.2464, allocations: 2.055 MB / 434.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.007007/0.2534, allocations: 6.119 MB / 440.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0002437/0.2536, allocations: 84.19 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.001027/0.2547, allocations: 0.8468 MB / 441.8 MB, free: 13.11 MB / 350.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [FOR-] (18) ($RES_BND_436) [----] for $i1 in 1:3 loop [----] [ARRY] (6) toSpacePhasor.TransformationMatrix = 0.6666666666666666 * {cos(toSpacePhasor.phi[$i1]), sin(toSpacePhasor.phi[1.0 + ((-1.0) + $i1)])} ($RES_BND_437) [----] end for; slice: {1, 2, 4, 5, 7, 8, 10, 11, 13, 14, ...}; [FOR-] (6) ($RES_SIM_455) [----] for $i1 in 1:3 loop [----] [ARRY] (2) toSpacePhasor.InverseTransformation[2] = -sin(-toSpacePhasor.phi[$i1]) ($RES_SIM_456) [----] end for; slice: {1, 2, 4, 5}; [FOR-] (6) ($RES_SIM_453) [----] for $i1 in 1:3 loop [----] [ARRY] (2) toSpacePhasor.InverseTransformation[1] = cos(-toSpacePhasor.phi[$i1]) ($RES_SIM_454) [----] end for; slice: {1, 2, 4, 5}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (6) protected parameter Real[3, 2] toSpacePhasor.InverseTransformation = {{cos(-toSpacePhasor.phi[k]), -sin(-toSpacePhasor.phi[k])} for k in 1:3} (fixed = {true for $i82 in 1:3, $i83 in 1:2}) Following equations were created by fixing variables: [SCAL] (1) $PRE.harmonic.mean1.x = $START.harmonic.mean1.x ($RES_SRT_458) [SCAL] (1) $PRE.harmonic.mean2.x = $START.harmonic.mean2.x ($RES_SRT_457) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6693515591323376] Failed to read output from testmodel.py, exit status != 0: ['time', 'potentialSensor.phi[1]', 'potentialSensor.phi[2]', 'potentialSensor.phi[3]', 'harmonic.mean1.x', 'harmonic.mean2.x', 'harmonic.y_rms', 'harmonic.y_arg', 'integrator.y', 'filter[1].x[1]', 'filter[1].x[2]', 'filter[2].x[1]', 'filter[2].x[2]', 'toPolar.y[1]', 'toPolar.y[2]'] 0.2713560052216053 0.285809707 0.07810684100000001 Calling exit ...