Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.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.001489/0.001489, allocations: 107.6 kB / 21.25 MB, free: 0.5625 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.001628/0.001628, allocations: 223 kB / 24.56 MB, free: 3.816 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 230.5 MB / 258.2 MB, free: 7.699 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: 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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.485e-05, allocations: 2.281 kB / 379.1 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive): time 0.2328/0.2328, allocations: 10.07 MB / 389.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007911/0.2407, allocations: 3.612 MB / 392.8 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.2433, allocations: 51.38 kB / 392.8 MB, free: 6.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.2455, allocations: 0.743 MB / 393.6 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.2482, allocations: 0.7548 MB / 394.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.2503, allocations: 0.7442 MB / 395.1 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004479/0.2547, allocations: 3.123 MB / 398.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.256, allocations: 0.5811 MB / 398.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.2584, allocations: 1.068 MB / 399.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.2601, allocations: 0.9521 MB / 400.8 MB, free: 2.441 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.2606, allocations: 250 kB / 401 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.2622, allocations: 0.6064 MB / 401.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003942/0.2661, allocations: 4.301 MB / 405.9 MB, free: 15.23 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003754/0.2699, allocations: 2.632 MB / 408.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.271, allocations: 183.7 kB / 408.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000745/0.2718, allocations: 91.3 kB / 408.8 MB, free: 13.32 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.01285/0.2846, allocations: 10.5 MB / 419.3 MB, free: 4.305 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001966/0.2866, allocations: 1.141 MB / 420.5 MB, free: 3.117 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006741/0.2933, allocations: 5.611 MB / 426.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002613/0.2959, allocations: 0.8084 MB / 426.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01549/0.3114, allocations: 8.823 MB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001031/0.3125, allocations: 0.4956 MB / 436.2 MB, free: 2.301 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004525/0.3129, allocations: 349.3 kB / 436.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.00125/0.3142, allocations: 0.92 MB / 437.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0007286/0.3149, allocations: 409.2 kB / 437.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001843/0.3167, allocations: 1.43 MB / 439.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.008454/0.3252, allocations: 5.459 MB / 444.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00313/0.3283, allocations: 2.728 MB / 447.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.005512/0.3338, allocations: 3.043 MB / 450.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.006531/0.3404, allocations: 5.746 MB / 456.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.0004817/0.3408, allocations: 129.5 kB / 456.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.001789/0.3426, allocations: 1.314 MB / 457.7 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.ViNominal = dcpmData.VaNominal - Modelica.Electrical.Machines.Losses.DCMachines.brushVoltageDrop(dcpmData.brushParameters, dcpmData.IaNominal) - dcpmData.Ra * (1.0 + (dcpmData.alpha20a / (1.0 + dcpmData.alpha20a * ((-293.15) + dcpmData.TaRef))) * (dcpmData.TaNominal - dcpmData.TaRef)) * dcpmData.IaNominal ($RES_BND_562); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_558); [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.coreParameters.VRef = dcpmData.ViNominal ($RES_BND_650); [SCAL] (1) dcpmData.frictionParameters.wLinear = dcpmData.frictionParameters.linear * dcpmData.frictionParameters.wRef ($RES_BND_648); [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); Notification: Performance of [INI] Causalize: time 0.04519/0.3878, allocations: 25.46 MB / 483.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.004989/0.3928, allocations: 3.29 MB / 486.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 2.655e-06/0.3928, allocations: 0 / 486.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001261/0.3941, allocations: 0.8329 MB / 487.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.417e-05/0.3941, allocations: 5.312 kB / 487.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 0.001441/0.3955, allocations: 1.001 MB / 488.3 MB, free: 13.03 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 3.138e-05/0.3956, allocations: 15.94 kB / 488.3 MB, free: 13.01 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.007683/0.4032, allocations: 4.137 MB / 492.5 MB, free: 8.883 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 0.007257/0.4105, allocations: 5.307 MB / 497.8 MB, free: 3.199 MB / 398.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 7 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (5) {meanCurrent.x, meanVoltage.x, dcpm.inertiaRotor.w, dcpm.airGapDC.ia, dcpm.strayLoad.phi} * Number of discrete states: .................... 6 (6) {meanVoltage.y, meanCurrent.y, signalPWM.triangle.T_start, signalPWM.triangle.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 72 (72) {hbridge.enableLogic.internalEnable, hbridge.andCondition_p.u2, hbridge.andCondition_n.u2, hbridge.fire_n, hbridge.inverter_p.enableLogic.internalEnable, hbridge.inverter_p.andCondition_p.u2, hbridge.inverter_p.andCondition_p.y, hbridge.inverter_p.fire_p, hbridge.inverter_p.andCondition_n.u2, hbridge.inverter_p.andCondition_n.y, hbridge.inverter_p.transistor_p.off, hbridge.inverter_p.diode_p.off, hbridge.inverter_p.transistor_n.off, hbridge.inverter_p.diode_n.off, hbridge.inverter_n.enableLogic.internalEnable, hbridge.inverter_n.andCondition_p.u2, hbridge.inverter_n.andCondition_p.y, hbridge.inverter_n.fire_p, hbridge.inverter_n.andCondition_n.u2, hbridge.inverter_n.andCondition_n.y, hbridge.inverter_n.transistor_p.off, hbridge.inverter_n.diode_p.off, hbridge.inverter_n.transistor_n.off, hbridge.inverter_n.diode_n.off, signalPWM.fire, signalPWM.zeroOrderHold.sampleTrigger, torqueTable.a, torqueTable.b, torqueTable.last, torqueTable.nextEvent, torqueTable.nextEventScaled, dutyCycleTable.a, dutyCycleTable.b, dutyCycleTable.last, dutyCycleTable.nextEvent, dutyCycleTable.nextEventScaled, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 141 (scalar:141, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:2, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 349 (scalar:349, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:8) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 5, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 349 (scalar:349, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:8) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 5 (linear: 5, nonlinear:0) Notification: Performance of backend: time 0.0003225/0.4108, allocations: 178.3 kB / 497.9 MB, free: 3.027 MB / 398.1 MB Notification: Performance of SimCode: time 0.01444/0.4253, allocations: 8.652 MB / 0.4947 GB, free: 10.16 MB / 414.1 MB Notification: Performance of Templates: time 0.04483/0.4701, allocations: 20.87 MB / 0.5151 GB, free: 5.352 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_DC_Drive -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.o Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_DC_Drive -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_functions.o Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_DC_Drive -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.o Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.c Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.c:344:31: error: no member named '_wNominal' in 'Modelica_Electrical_Machines_Losses_CoreParameters' ths->_wMin = (1e-6) * (ths->_wNominal); ~~~ ^ Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.c:354:35: error: no member named '_wNominal' in 'Modelica_Electrical_Machines_Losses_FrictionParameters' ths->_wLinear = (0.001) * (ths->_wNominal); ~~~ ^ 2 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.o] Error 1 [Calling os._exit(0), Time elapsed: 4.186242248979397] 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.47975346201565117 0.495481447 0.220342424 Calling exit ...