Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00239/0.00239, allocations: 188.4 kB / 24.53 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.764/1.764, allocations: 225.7 MB / 253.4 MB, free: 12.76 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.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|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.05e-05, allocations: 2.281 kB / 371.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive): time 0.2431/0.2432, allocations: 9.798 MB / 381.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007612/0.2508, allocations: 3.477 MB / 385 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.2529, allocations: 52.2 kB / 385.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.2552, allocations: 0.723 MB / 385.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.258, allocations: 0.7472 MB / 386.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.2601, allocations: 0.711 MB / 387.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005119/0.2652, allocations: 3.031 MB / 390.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.2667, allocations: 0.5572 MB / 390.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.2697, allocations: 1.031 MB / 391.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.2717, allocations: 0.9233 MB / 392.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.2721, allocations: 236.9 kB / 393 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.274, allocations: 0.5957 MB / 393.6 MB, free: 9.887 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00368/0.2777, allocations: 4.172 MB / 397.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002565/0.2803, allocations: 2.561 MB / 400.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.2813, allocations: 179.5 kB / 400.5 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007088/0.282, allocations: 85 kB / 400.6 MB, free: 5.324 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: 412 (404) * Number of variables: 412 (412) Notification: Performance of [SIM] Bindings: time 0.01686/0.2989, allocations: 10.24 MB / 410.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001534/0.3004, allocations: 1.054 MB / 411.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.009409/0.3098, allocations: 5.439 MB / 417.4 MB, free: 9.242 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003313/0.3131, allocations: 0.7858 MB / 418.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01616/0.3293, allocations: 8.611 MB / 426.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009767/0.3303, allocations: 483.3 kB / 427.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004365/0.3307, allocations: 345.3 kB / 427.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001186/0.3319, allocations: 0.8988 MB / 428.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0005793/0.3325, allocations: 327.3 kB / 428.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001961/0.3344, allocations: 1.386 MB / 430.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.008385/0.3428, allocations: 5.314 MB / 435.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003138/0.3459, allocations: 2.576 MB / 438.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.0074/0.3533, allocations: 2.972 MB / 441 MB, free: 15.98 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0082/0.3615, allocations: 5.491 MB / 446.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0006791/0.3622, allocations: 125.1 kB / 446.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.00243/0.3647, allocations: 1.263 MB / 447.9 MB, free: 9.047 MB / 350.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_544); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_540); [SCAL] (1) dcpmData.brushParameters.ILinear = 0.01 * dcpmData.IaNominal ($RES_BND_637); [SCAL] (1) dcpmData.strayLoadParameters.tauRef = if dcpmData.strayLoadParameters.PRef <= 0.0 then 0.0 else dcpmData.strayLoadParameters.PRef / dcpmData.strayLoadParameters.wRef ($RES_BND_636); [SCAL] (1) dcpmData.strayLoadParameters.wRef = dcpmData.wNominal ($RES_BND_635); [SCAL] (1) dcpmData.strayLoadParameters.IRef = dcpmData.IaNominal ($RES_BND_634); [SCAL] (1) dcpmData.coreParameters.wMin = 1e-6 * dcpmData.coreParameters.wRef ($RES_BND_633); [SCAL] (1) dcpmData.coreParameters.wRef = dcpmData.wNominal ($RES_BND_631); [SCAL] (1) dcpmData.coreParameters.VRef = dcpmData.ViNominal ($RES_BND_630); [SCAL] (1) dcpmData.frictionParameters.wLinear = dcpmData.frictionParameters.linear * dcpmData.frictionParameters.wRef ($RES_BND_628); [SCAL] (1) dcpmData.frictionParameters.tauRef = if dcpmData.frictionParameters.PRef <= 0.0 then 0.0 else dcpmData.frictionParameters.PRef / dcpmData.frictionParameters.wRef ($RES_BND_627); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_626); Notification: Performance of [INI] Causalize: time 0.04205/0.4067, allocations: 24.81 MB / 472.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.004494/0.4112, allocations: 3.221 MB / 475.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 4.478e-06/0.4112, allocations: 4 kB / 475.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001203/0.4124, allocations: 0.793 MB / 476.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.253e-05/0.4124, allocations: 9.312 kB / 476.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.001325/0.4137, allocations: 0.9884 MB / 477.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.594e-05/0.4138, allocations: 8 kB / 477.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.006387/0.4202, allocations: 3.952 MB / 481.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.006072/0.4262, allocations: 5.289 MB / 487 MB, free: 1.062 MB / 382.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.sawtooth.T_start, signalPWM.sawtooth.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 67 (67) {hbridge.enableLogic.internalEnable, hbridge.andCondition_p.u2, hbridge.andCondition_n.u2, hbridge.inverter_p.enableLogic.internalEnable, hbridge.inverter_p.andCondition_p.u2, hbridge.inverter_p.andCondition_p.y, hbridge.inverter_p.andCondition_n.u2, hbridge.inverter_p.andCondition_n.y, hbridge.inverter_p.fire_n, 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.andCondition_n.u2, hbridge.inverter_n.andCondition_n.y, hbridge.inverter_n.fire_n, 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_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: ........... 135 (scalar:135, 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: ........... 336 (scalar:336, 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: ........... 336 (scalar:336, 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.0002266/0.4265, allocations: 163.7 kB / 487.1 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of SimCode: time 0.01184/0.4383, allocations: 8.477 MB / 495.6 MB, free: 8.223 MB / 398.1 MB Notification: Performance of Templates: time 0.03954/0.4778, allocations: 20.04 MB / 0.5036 GB, free: 4.25 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.makefile [Timeout 660] make -j1 -f Modelica_4.0.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_0_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.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_functions.o Modelica_4.0.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_0_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.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.o Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.c Modelica_4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.o] Error 1 [Calling os._exit(0), Time elapsed: 4.583593675983138] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm.inertiaRotor.phi', 'dcpm.inertiaRotor.w', 'inductor.i', 'meanCurrent.y', 'meanVoltage.y', 'hbridge.dc_n1.v', 'hbridge.dc_n1.i', 'hbridge.dc_p1.v', 'hbridge.dc_p1.i', 'hbridge.dc_n2.v', 'hbridge.dc_n2.i', 'hbridge.dc_p2.v', 'hbridge.dc_p2.i'] 0.48798800801159814 0.5112861040000001 0.22471855100000002 Calling exit ...