Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic.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.001728/0.001728, 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.002229/0.002229, 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.635/1.635, allocations: 225.7 MB / 253.4 MB, free: 12.79 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.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.ia|dcpm1.tauElectrical|dcpm2.ia|dcpm2.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.067e-05, allocations: 2.281 kB / 371.7 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStatic): time 0.2511/0.2511, allocations: 10.19 MB / 381.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.259, allocations: 3.066 MB / 385 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002199/0.2612, allocations: 42.25 kB / 385 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.2634, allocations: 0.6178 MB / 385.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.2661, allocations: 0.729 MB / 386.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2672, allocations: 400.4 kB / 386.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003777/0.271, allocations: 2.723 MB / 389.5 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.272, allocations: 0.4997 MB / 390 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.2738, allocations: 0.9291 MB / 390.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.2748, allocations: 0.7893 MB / 391.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002864/0.2751, allocations: 195.5 kB / 391.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.2764, allocations: 438.8 kB / 392.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003186/0.2796, allocations: 3.897 MB / 396.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002207/0.2818, allocations: 2.412 MB / 398.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.2826, allocations: 181.7 kB / 398.8 MB, free: 6.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004951/0.2831, allocations: 60.7 kB / 398.9 MB, free: 6.516 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: 392 (392) * Number of variables: 392 (392) Notification: Performance of [SIM] Bindings: time 0.009456/0.2926, allocations: 10.27 MB / 409.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001142/0.2937, allocations: 0.9732 MB / 410.1 MB, free: 15.03 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.004937/0.2986, allocations: 4.643 MB / 414.8 MB, free: 11.34 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001451/0.3001, allocations: 0.724 MB / 415.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01358/0.3137, allocations: 8.336 MB / 423.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000739/0.3144, allocations: 386.8 kB / 424.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000349/0.3148, allocations: 228.1 kB / 424.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0009108/0.3157, allocations: 0.5894 MB / 425 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0002686/0.3159, allocations: 135.7 kB / 425.1 MB, free: 468 kB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001099/0.317, allocations: 0.8333 MB / 426 MB, free: 15.57 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.loadInertia1.w. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9119774600258097] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm1.ia', 'dcpm1.tauElectrical', 'dcpm2.ia', 'dcpm2.tauElectrical', 'loadInertia1.phi', 'loadInertia1.w', 'loadInertia2.phi', 'loadInertia2.w'] 0.3310815090080723 0.345496899 0.059248245000000005 Calling exit ...