Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_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.001297/0.001297, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001499/0.001499, allocations: 209.2 kB / 24.49 MB, free: 3.961 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.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|coupling.w|coupling.tau|multiSensor.i|multiSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|coupling.w|coupling.tau|multiSensor.i|multiSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.405e-05, allocations: 2.281 kB / 378.9 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Drive): time 0.2158/0.2158, allocations: 20.24 MB / 399.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.2321, allocations: 6.719 MB / 405.9 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00823/0.2403, allocations: 122.8 kB / 406 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003694/0.244, allocations: 0.7968 MB / 406.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005189/0.2492, allocations: 0.938 MB / 407.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.2522, allocations: 0.8189 MB / 408.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00784/0.26, allocations: 4.288 MB / 412.9 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/0.2636, allocations: 1.136 MB / 414 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.2669, allocations: 1.49 MB / 415.5 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/0.2699, allocations: 1.432 MB / 416.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.271, allocations: 361.5 kB / 417.3 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.2736, allocations: 0.6068 MB / 417.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.005693/0.2793, allocations: 6.112 MB / 424 MB, free: 188 kB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003571/0.2829, allocations: 3.752 MB / 427.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008603/0.2837, allocations: 276 kB / 428 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0008895/0.2846, allocations: 107.5 kB / 428.1 MB, free: 12 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 671 (671) * Number of variables: 671 (671) Notification: Performance of [SIM] Bindings: time 0.01688/0.3015, allocations: 15.38 MB / 443.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002168/0.3037, allocations: 1.567 MB / 445.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.008999/0.3127, allocations: 8.163 MB / 453.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002817/0.3155, allocations: 1.498 MB / 454.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.02721/0.3427, allocations: 14.46 MB / 469.2 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001488/0.3442, allocations: 0.6689 MB / 469.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006455/0.3448, allocations: 324.1 kB / 470.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.001633/0.3465, allocations: 0.8738 MB / 471 MB, free: 14.68 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0004643/0.3469, allocations: 239.3 kB / 471.3 MB, free: 14.45 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001771/0.3487, allocations: 1.347 MB / 472.6 MB, free: 13.03 MB / 382.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.dcpm2.inertiaRotor.w. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.708154908847064] Failed to read output from testmodel.py, exit status != 0: ['time', 'coupling.w', 'coupling.tau', 'multiSensor.i', 'multiSensor.v'] 0.3697303030639887 0.38485547099999995 0.096887727 Calling exit ...