Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001752/0.001752, allocations: 109.5 kB / 22 MB, free: 5.219 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.002185/0.002185, allocations: 209.5 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 207.7 MB / 236.2 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.128e-05, allocations: 2.281 kB / 348.6 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive): time 0.01561/0.01563, allocations: 9.758 MB / 358.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00874/0.02437, allocations: 3.507 MB / 361.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002971/0.02735, allocations: 51.62 kB / 361.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003869/0.03121, allocations: 0.7297 MB / 362.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004997/0.03621, allocations: 0.7487 MB / 363.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.03933, allocations: 0.7099 MB / 364.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006695/0.04602, allocations: 3.02 MB / 367.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.04815, allocations: 0.5573 MB / 367.6 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.05075, allocations: 1.032 MB / 368.7 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002585/0.05333, allocations: 0.9212 MB / 369.6 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.05436, allocations: 236 kB / 369.8 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.05656, allocations: 0.6048 MB / 370.4 MB, free: 3.336 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005923/0.06249, allocations: 4.163 MB / 374.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0032/0.06569, allocations: 2.561 MB / 377.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.06674, allocations: 180 kB / 377.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000651/0.06739, allocations: 75.66 kB / 377.4 MB, free: 12.29 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: 410 (402) * Number of variables: 410 (410) Notification: Performance of [SIM] Bindings: time 0.01656/0.08396, allocations: 10.21 MB / 387.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001766/0.08572, allocations: 1.045 MB / 388.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.2178/0.3035, allocations: 5.415 MB / 394.1 MB, free: 28.95 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002913/0.3064, allocations: 0.7857 MB / 394.9 MB, free: 28.68 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01466/0.3211, allocations: 8.531 MB / 403.4 MB, free: 25.13 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000776/0.3219, allocations: 493.6 kB / 403.9 MB, free: 24.92 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002929/0.3222, allocations: 347.6 kB / 404.2 MB, free: 24.68 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0008454/0.323, allocations: 0.8951 MB / 405.1 MB, free: 24.08 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004606/0.3235, allocations: 345.9 kB / 405.4 MB, free: 23.94 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001373/0.3249, allocations: 1.376 MB / 406.8 MB, free: 23.19 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006661/0.3315, allocations: 5.331 MB / 412.2 MB, free: 21.64 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001672/0.3332, allocations: 2.583 MB / 414.7 MB, free: 20.12 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.003845/0.337, allocations: 2.946 MB / 417.7 MB, free: 18.24 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003354/0.3404, allocations: 5.489 MB / 423.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0002318/0.3406, allocations: 125.1 kB / 423.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0007605/0.3414, allocations: 1.259 MB / 424.6 MB, free: 12.24 MB / 318.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_542); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_538); [SCAL] (1) dcpmData.brushParameters.ILinear = 0.01 * dcpmData.IaNominal ($RES_BND_635); [SCAL] (1) dcpmData.strayLoadParameters.tauRef = if dcpmData.strayLoadParameters.PRef <= 0.0 then 0.0 else dcpmData.strayLoadParameters.PRef / dcpmData.strayLoadParameters.wRef ($RES_BND_634); [SCAL] (1) dcpmData.strayLoadParameters.wRef = dcpmData.wNominal ($RES_BND_633); [SCAL] (1) dcpmData.strayLoadParameters.IRef = dcpmData.IaNominal ($RES_BND_632); [SCAL] (1) dcpmData.coreParameters.wMin = 1e-6 * dcpmData.coreParameters.wRef ($RES_BND_631); [SCAL] (1) dcpmData.coreParameters.wRef = dcpmData.wNominal ($RES_BND_629); [SCAL] (1) dcpmData.coreParameters.VRef = dcpmData.ViNominal ($RES_BND_628); [SCAL] (1) dcpmData.frictionParameters.wLinear = dcpmData.frictionParameters.linear * dcpmData.frictionParameters.wRef ($RES_BND_626); [SCAL] (1) dcpmData.frictionParameters.tauRef = if dcpmData.frictionParameters.PRef <= 0.0 then 0.0 else dcpmData.frictionParameters.PRef / dcpmData.frictionParameters.wRef ($RES_BND_625); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_624); Notification: Performance of [INI] Causalize: time 0.03624/0.3776, allocations: 24.82 MB / 449.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.005038/0.3827, allocations: 3.218 MB / 452.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 6.031e-06/0.3827, allocations: 4 kB / 452.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001412/0.3841, allocations: 0.7902 MB / 453.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.755e-05/0.3841, allocations: 5.312 kB / 453.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.001463/0.3856, allocations: 0.9944 MB / 454.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 3.248e-05/0.3856, allocations: 8 kB / 454.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.007272/0.3929, allocations: 3.946 MB / 458.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.006741/0.3996, allocations: 5.303 MB / 463.6 MB, free: 4.555 MB / 350.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.0003059/0.3999, allocations: 167 kB / 463.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of SimCode: time 0.01251/0.4124, allocations: 8.448 MB / 472.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Templates: time 0.04518/0.4576, allocations: 20.04 MB / 492.3 MB, free: 7.82 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_functions.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.o Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.c Modelica_3.2.3_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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive_records.o] Error 1 [Calling os._exit(0), Time elapsed: 4.625902414962184] 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.46795637399191037 0.484054789 0.41301935999999995 Calling exit ...