Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.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.001692/0.001692, allocations: 103.6 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.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.001936/0.001936, allocations: 210.3 kB / 24.55 MB, free: 3.824 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.582/1.582, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.566e-05, allocations: 6.219 kB / 379.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.2358/0.2358, allocations: 8.562 MB / 387.6 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006958/0.2428, allocations: 2.99 MB / 390.6 MB, free: 8.391 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002021/0.2448, allocations: 71.75 kB / 390.7 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.2468, allocations: 0.6667 MB / 391.3 MB, free: 8.023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003712/0.2505, allocations: 0.8195 MB / 392.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.2518, allocations: 396.1 kB / 392.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004891/0.2566, allocations: 2.935 MB / 395.5 MB, free: 5.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00163/0.2583, allocations: 0.6757 MB / 396.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.2613, allocations: 1.139 MB / 397.3 MB, free: 4.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.2641, allocations: 1.149 MB / 398.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.2646, allocations: 194.8 kB / 398.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.2672, allocations: 0.51 MB / 399.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004053/0.2712, allocations: 3.939 MB / 403.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002493/0.2737, allocations: 2.416 MB / 405.5 MB, free: 180 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007153/0.2744, allocations: 148.2 kB / 405.6 MB, free: 180 kB / 302.1 MB Notification: Performance of FrontEnd: time 0.0006203/0.2751, allocations: 50.22 kB / 405.7 MB, free: 164 kB / 302.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.01513/0.2902, allocations: 10.53 MB / 416.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001929/0.2921, allocations: 1.176 MB / 417.4 MB, free: 6.453 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006853/0.299, allocations: 5.29 MB / 422.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002039/0.301, allocations: 0.8131 MB / 423.5 MB, free: 180 kB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01378/0.3148, allocations: 7.541 MB / 431 MB, free: 7.941 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001202/0.316, allocations: 0.5872 MB / 431.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004911/0.3165, allocations: 348.1 kB / 432 MB, free: 6.902 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001227/0.3177, allocations: 0.8879 MB / 432.9 MB, free: 5.953 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003477/0.3181, allocations: 177.3 kB / 433 MB, free: 5.785 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001913/0.32, allocations: 1.421 MB / 434.5 MB, free: 4.328 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.8358314810320735] 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.3427769289701246 0.358211712 0.079910441 Calling exit ...