Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001776/0.001776, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002168/0.002168, allocations: 223 kB / 24.56 MB, free: 3.816 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.673/1.673, allocations: 230.5 MB / 258.2 MB, free: 7.719 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.522e-05, allocations: 4.812 kB / 379.1 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.2263/0.2263, allocations: 8.565 MB / 387.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00684/0.2331, allocations: 2.989 MB / 390.6 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.235, allocations: 72.44 kB / 390.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.2369, allocations: 0.6625 MB / 391.3 MB, free: 7.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003405/0.2403, allocations: 0.8189 MB / 392.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2414, allocations: 402.1 kB / 392.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003941/0.2453, allocations: 2.926 MB / 395.5 MB, free: 5.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.2466, allocations: 0.6765 MB / 396.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.2486, allocations: 1.138 MB / 397.3 MB, free: 4.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.2505, allocations: 1.15 MB / 398.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.2508, allocations: 194.1 kB / 398.6 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.2524, allocations: 0.5072 MB / 399.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003248/0.2556, allocations: 3.943 MB / 403.1 MB, free: 1.711 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001756/0.2574, allocations: 2.411 MB / 405.5 MB, free: 16 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.2578, allocations: 148.3 kB / 405.6 MB, free: 16 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004777/0.2583, allocations: 57.91 kB / 405.7 MB, free: 15.99 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: 553 (348) * Number of variables: 553 (316) Notification: Performance of [SIM] Bindings: time 0.01167/0.27, allocations: 10.53 MB / 416.2 MB, free: 7.445 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00149/0.2714, allocations: 1.168 MB / 417.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006374/0.2778, allocations: 5.29 MB / 422.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001594/0.2794, allocations: 0.8146 MB / 423.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01223/0.2916, allocations: 7.554 MB / 431.1 MB, free: 7.73 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001142/0.2928, allocations: 0.5877 MB / 431.6 MB, free: 7.07 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004936/0.2933, allocations: 348.1 kB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001157/0.2944, allocations: 0.8776 MB / 432.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003253/0.2948, allocations: 170.2 kB / 433 MB, free: 5.586 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001836/0.2966, allocations: 1.421 MB / 434.4 MB, free: 4.129 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.smr.inertiaRotor.w. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9476601089700125] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smr.is[1]', 'smr.is[2]', 'smr.idq_rr[1]', 'smr.idq_rr[2]', 'smr.idq_sr[1]', 'smr.idq_sr[2]', 'vfController.x'] 0.3182712289853953 0.331967308 0.070857866 Calling exit ...