Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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.001647/0.001647, 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.002017/0.002017, allocations: 205.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.517/1.517, 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.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.732e-05, allocations: 6.219 kB / 378.9 MB, free: 2.508 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.243/0.243, allocations: 7.297 MB / 386.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005988/0.249, allocations: 2.581 MB / 388.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/0.2499, allocations: 50 kB / 388.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.2516, allocations: 0.5966 MB / 389.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.2535, allocations: 0.679 MB / 390.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.2542, allocations: 288.8 kB / 390.4 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.257, allocations: 2.299 MB / 392.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.2581, allocations: 0.5385 MB / 393.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.2596, allocations: 0.8954 MB / 394.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.2607, allocations: 0.9183 MB / 395.1 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002225/0.2609, allocations: 148.7 kB / 395.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.2622, allocations: 0.4972 MB / 395.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00242/0.2646, allocations: 3.027 MB / 398.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001332/0.266, allocations: 1.853 MB / 400.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.2663, allocations: 121 kB / 400.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003067/0.2666, allocations: 34.52 kB / 400.8 MB, free: 3.086 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 (271) * Number of variables: 392 (242) Notification: Performance of [SIM] Bindings: time 0.01119/0.2778, allocations: 8.322 MB / 409.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001326/0.2791, allocations: 0.8072 MB / 409.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005333/0.2844, allocations: 3.976 MB / 413.9 MB, free: 9.688 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001598/0.286, allocations: 0.7018 MB / 414.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.009644/0.2957, allocations: 5.333 MB / 419.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001019/0.2967, allocations: 492.8 kB / 420.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004088/0.2971, allocations: 276.4 kB / 420.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001067/0.2982, allocations: 0.6993 MB / 421.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0002856/0.2985, allocations: 128.6 kB / 421.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001561/0.3, allocations: 1.057 MB / 422.5 MB, free: 0.5586 MB / 318.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.imc.phiMechanical. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.909724017139524] Failed to read output from testmodel.py, exit status != 0: ['time', 'imc.idq_rr[1]', 'imc.idq_rr[2]', 'loadInertia.phi', 'loadInertia.w', 'imc.idq_sr[1]', 'imc.idq_sr[2]', 'imc.is[1]', 'imc.is[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 0.3188611827790737 0.33482354899999994 0.064735841 Calling exit ...