Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.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.001292/0.001292, 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.001388/0.001388, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.43/1.43, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.DCDC.HBridge.HBridge_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=120000,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=120000,variableFilter="time|hbridge.vDC1|hbridge.iDC1|hbridge.vDC2|hbridge.iDC2|meanCurrent.y|meanVoltage.y|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.621e-05, allocations: 6.219 kB / 379 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive): time 0.1773/0.1773, allocations: 10.07 MB / 389 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006446/0.1838, allocations: 3.61 MB / 392.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.1858, allocations: 46.69 kB / 392.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.1877, allocations: 0.744 MB / 393.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.1897, allocations: 0.7496 MB / 394.2 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1913, allocations: 0.7373 MB / 394.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003339/0.1946, allocations: 3.119 MB / 398.1 MB, free: 4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009965/0.1956, allocations: 0.6229 MB / 398.7 MB, free: 3.578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1971, allocations: 1.06 MB / 399.7 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1983, allocations: 1.09 MB / 400.8 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003372/0.1986, allocations: 245.5 kB / 401.1 MB, free: 2.457 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.1999, allocations: 0.622 MB / 401.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002776/0.2027, allocations: 4.3 MB / 406 MB, free: 15.29 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002312/0.205, allocations: 2.632 MB / 408.6 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000473/0.2054, allocations: 184.4 kB / 408.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0004845/0.2059, allocations: 86.61 kB / 408.9 MB, free: 13.39 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 (413) * Number of variables: 421 (421) Notification: Performance of [SIM] Bindings: time 0.01126/0.2172, allocations: 10.5 MB / 419.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001318/0.2185, allocations: 1.137 MB / 420.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005663/0.2242, allocations: 5.612 MB / 426.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001798/0.226, allocations: 0.9326 MB / 427.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01293/0.2389, allocations: 8.603 MB / 435.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000864/0.2397, allocations: 0.5403 MB / 436.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004425/0.2402, allocations: 358.4 kB / 436.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001134/0.2413, allocations: 0.9209 MB / 437.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0006249/0.242, allocations: 405.1 kB / 437.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001783/0.2437, allocations: 1.43 MB / 439.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.00796/0.2517, allocations: 5.494 MB / 444.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002835/0.2545, allocations: 2.724 MB / 447.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.005341/0.2599, allocations: 3.218 MB / 450.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.005939/0.2658, allocations: 5.703 MB / 456.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0003205/0.2661, allocations: 133.6 kB / 456.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.001541/0.2677, allocations: 1.314 MB / 457.9 MB, free: 12.16 MB / 366.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) dcpmData.brushParameters.ILinear = 0.01 * dcpmData.IaNominal ($RES_BND_657); [SCAL] (1) dcpmData.strayLoadParameters.tauRef = if dcpmData.strayLoadParameters.PRef <= 0.0 then 0.0 else dcpmData.strayLoadParameters.PRef / dcpmData.strayLoadParameters.wRef ($RES_BND_656); [SCAL] (1) dcpmData.strayLoadParameters.wRef = dcpmData.wNominal ($RES_BND_655); [SCAL] (1) dcpmData.strayLoadParameters.IRef = dcpmData.IaNominal ($RES_BND_654); [SCAL] (1) dcpmData.coreParameters.wMin = 1e-6 * dcpmData.coreParameters.wRef ($RES_BND_653); [SCAL] (1) dcpmData.coreParameters.wRef = dcpmData.wNominal ($RES_BND_651); [SCAL] (1) dcpmData.frictionParameters.tauRef = if dcpmData.frictionParameters.PRef <= 0.0 then 0.0 else dcpmData.frictionParameters.PRef / dcpmData.frictionParameters.wRef ($RES_BND_647); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_646); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (1) parameter Real dcpm.frictionParameters.PRef = dcpmData.frictionParameters.PRef (fixed = true, min = 0.0), [PRMT] (1) parameter Real dcpm.coreParameters.PRef = dcpmData.coreParameters.PRef (fixed = true, min = 0.0), [PRMT] (1) final parameter Real dcpm.core.coreParameters.ratioHysteresis = dcpm.coreParameters.ratioHysteresis (fixed = true, start = 0.775, min = 0.0, max = 1.0), [PRMT] (1) final parameter Real dcpm.strayLoad.strayLoadParameters.PRef = dcpm.strayLoadParameters.PRef (fixed = true, min = 0.0), [PRMT] (1) parameter Real dcpmData.strayLoadParameters.power_w = 1.0 (fixed = true, start = 1.0, min = 2.2250738585072014e-308) Following equations were created by fixing variables: [SCAL] (1) $PRE.meanCurrent.x = $START.meanCurrent.x ($RES_SRT_714) [SCAL] (1) $PRE.meanVoltage.x = $START.meanVoltage.x ($RES_SRT_713) [SCAL] (1) $PRE.signalPWM.zeroOrderHold.ySample = $START.signalPWM.zeroOrderHold.ySample ($RES_SRT_712) 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: 3.53968809498474] Failed to read output from testmodel.py, exit status != 0: ['time', 'hbridge.vDC1', 'hbridge.iDC1', 'hbridge.vDC2', 'hbridge.iDC2', 'meanCurrent.y', 'meanVoltage.y', 'dcpm.inertiaRotor.phi', 'dcpm.inertiaRotor.w', 'inductor.i'] 0.2858576229773462 0.29975261899999994 0.09092864999999994 Calling exit ...