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.001617/0.001617, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002219/0.002219, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.616/1.616, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.677e-05/2.677e-05, allocations: 5.375 kB / 379.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive): time 0.2596/0.2596, allocations: 10.07 MB / 389.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009628/0.2692, allocations: 3.608 MB / 392.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.2725, allocations: 47.06 kB / 392.8 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.2754, allocations: 0.7393 MB / 393.6 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.2794, allocations: 0.7579 MB / 394.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.2823, allocations: 0.7396 MB / 395.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006185/0.2885, allocations: 3.107 MB / 398.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.2902, allocations: 0.5766 MB / 398.7 MB, free: 3.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.2923, allocations: 1.064 MB / 399.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.2936, allocations: 0.9533 MB / 400.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.294, allocations: 245.9 kB / 401 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.2955, allocations: 0.6074 MB / 401.6 MB, free: 2.551 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003402/0.2989, allocations: 4.296 MB / 405.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00281/0.3017, allocations: 2.639 MB / 408.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006945/0.3024, allocations: 184.5 kB / 408.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005946/0.303, allocations: 87.73 kB / 408.8 MB, free: 13.58 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.01271/0.3157, allocations: 10.5 MB / 419.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001606/0.3173, allocations: 1.145 MB / 420.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006772/0.3241, allocations: 5.609 MB / 426.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002092/0.3262, allocations: 0.8108 MB / 426.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01536/0.3416, allocations: 8.823 MB / 435.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001116/0.3427, allocations: 0.4926 MB / 436.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005732/0.3432, allocations: 353.2 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001376/0.3446, allocations: 0.9281 MB / 437.5 MB, free: 1.25 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0007882/0.3454, allocations: 402.8 kB / 437.9 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002135/0.3475, allocations: 1.426 MB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.009314/0.3569, allocations: 5.456 MB / 444.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003019/0.3599, allocations: 2.728 MB / 447.5 MB, free: 6.957 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.005806/0.3657, allocations: 3.049 MB / 450.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.006487/0.3722, allocations: 5.75 MB / 456.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.000403/0.3726, allocations: 125.5 kB / 456.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.001756/0.3743, allocations: 1.326 MB / 457.7 MB, free: 12.45 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.04432/0.4186, allocations: 25.46 MB / 483.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.005451/0.4241, allocations: 3.291 MB / 486.5 MB, free: 15.24 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 3.176e-06/0.4241, allocations: 0 / 486.5 MB, free: 15.24 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001478/0.4256, allocations: 0.8319 MB / 487.3 MB, free: 14.35 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.442e-05/0.4256, allocations: 5.312 kB / 487.3 MB, free: 14.34 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 0.001451/0.427, allocations: 1.003 MB / 488.3 MB, free: 13.33 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 3.06e-05/0.4271, allocations: 12 kB / 488.3 MB, free: 13.32 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.0077/0.4348, allocations: 4.132 MB / 492.4 MB, free: 9.191 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 0.006711/0.4415, allocations: 5.308 MB / 497.7 MB, free: 3.512 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.0003006/0.4418, allocations: 175.8 kB / 497.9 MB, free: 3.344 MB / 398.1 MB Notification: Performance of SimCode: time 0.01274/0.4545, allocations: 8.669 MB / 0.4947 GB, free: 10.47 MB / 414.1 MB Notification: Performance of Templates: time 0.04674/0.5013, allocations: 20.87 MB / 0.5151 GB, free: 5.672 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_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_4_1_0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.o Modelica_4.1.0_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_4_1_0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_functions.o Modelica_4.1.0_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_4_1_0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.o Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.c Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.o] Error 1 [Calling os._exit(0), Time elapsed: 4.189124268013984] 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.5116591510013677 0.536239738 0.22848870100000002 Calling exit ...