Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses.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.001336/0.001336, 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.001557/0.001557, allocations: 206.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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.801 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_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.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/2.869e-05, allocations: 2.281 kB / 378.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_withLosses): time 0.2117/0.2117, allocations: 10.57 MB / 389.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006543/0.2182, allocations: 3.141 MB / 392.6 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.2204, allocations: 47.31 kB / 392.7 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.2225, allocations: 0.6361 MB / 393.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003001/0.2255, allocations: 0.7881 MB / 394.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009766/0.2265, allocations: 400.8 kB / 394.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00345/0.2299, allocations: 2.876 MB / 397.4 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009805/0.2309, allocations: 0.5642 MB / 397.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.2327, allocations: 0.9914 MB / 398.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.2339, allocations: 0.992 MB / 399.9 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002686/0.2342, allocations: 199.1 kB / 400.1 MB, free: 2.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2354, allocations: 461.7 kB / 400.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003222/0.2386, allocations: 4.167 MB / 404.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002767/0.2414, allocations: 2.569 MB / 407.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007411/0.2421, allocations: 191.1 kB / 407.5 MB, free: 14.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005737/0.2427, allocations: 57.8 kB / 407.6 MB, free: 14.16 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: 393 (393) * Number of variables: 393 (393) Notification: Performance of [SIM] Bindings: time 0.01315/0.2558, allocations: 11.29 MB / 418.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00156/0.2574, allocations: 1.128 MB / 420 MB, free: 3.875 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005428/0.2628, allocations: 4.816 MB / 424.8 MB, free: 15 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001729/0.2645, allocations: 0.8493 MB / 425.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01256/0.2771, allocations: 8.17 MB / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007272/0.2778, allocations: 463.6 kB / 434.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002969/0.2781, allocations: 236.2 kB / 434.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0008231/0.2789, allocations: 0.6459 MB / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002639/0.2792, allocations: 139.9 kB / 435.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001213/0.2804, allocations: 0.9816 MB / 436.3 MB, free: 2.34 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.678378908894956] 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.294657438993454 0.309207332 0.06343442 Calling exit ...