Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.001411/0.001411, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 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.001511/0.001511, allocations: 191.7 kB / 24.53 MB, free: 3.852 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.59/1.59, 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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|dcpm2.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.237e-05, allocations: 6.219 kB / 371.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.2293/0.2293, allocations: 10.53 MB / 382.3 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006888/0.2362, allocations: 3.11 MB / 385.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.2375, allocations: 43.66 kB / 385.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.2393, allocations: 0.6359 MB / 386.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.2414, allocations: 0.7855 MB / 386.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.2423, allocations: 407 kB / 387.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00344/0.2457, allocations: 2.876 MB / 390.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.2468, allocations: 0.5185 MB / 390.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.2487, allocations: 0.9921 MB / 391.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.2501, allocations: 0.8488 MB / 392.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.2504, allocations: 198.6 kB / 392.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.2518, allocations: 454.3 kB / 393.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003675/0.2555, allocations: 4.165 MB / 397.3 MB, free: 7.719 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001942/0.2575, allocations: 2.57 MB / 399.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.258, allocations: 192.2 kB / 400 MB, free: 5.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003889/0.2584, allocations: 60 kB / 400.1 MB, free: 5.914 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: 393 (393) * Number of variables: 393 (393) Notification: Performance of [SIM] Bindings: time 0.01212/0.2705, allocations: 11.31 MB / 411.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001501/0.272, allocations: 1.119 MB / 412.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005462/0.2775, allocations: 4.817 MB / 417.3 MB, free: 9.348 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001635/0.2791, allocations: 0.7353 MB / 418.1 MB, free: 8.508 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01363/0.2928, allocations: 8.37 MB / 426.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007818/0.2936, allocations: 413.8 kB / 426.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003375/0.2939, allocations: 240.1 kB / 427.1 MB, free: 14.56 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001346/0.2952, allocations: 0.6454 MB / 427.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002919/0.2955, allocations: 144.1 kB / 427.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.00146/0.297, allocations: 0.9854 MB / 428.8 MB, free: 12.66 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.dcpm2.strayLoad.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7637255170266144] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm1.la.i', 'dcpm2.la.i', 'loadInertia1.phi', 'loadInertia1.w', 'loadInertia2.phi', 'loadInertia2.w'] 0.3116030940436758 0.326830485 0.065284514 Calling exit ...