Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) 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(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 113.4 kB / 17.75 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 184.2 kB / 18.68 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1619/0.1619, allocations: 38.04 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.797e-05/1.797e-05, allocations: 2.281 kB / 458.8 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.008431/0.008449, allocations: 7.198 MB / 466 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005182/0.01363, allocations: 3.035 MB / 469 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009111/0.01454, allocations: 35.81 kB / 469 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.01598, allocations: 365.1 kB / 469.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.01795, allocations: 0.6489 MB / 470 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.01914, allocations: 447.1 kB / 470.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002542/0.02169, allocations: 1.668 MB / 472.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.02314, allocations: 0.8082 MB / 472.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.02426, allocations: 0.58 MB / 473.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009878/0.02525, allocations: 0.5524 MB / 474.1 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.02552, allocations: 92 kB / 474.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.02673, allocations: 459.4 kB / 474.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001357/0.02809, allocations: 1.592 MB / 476.2 MB, free: 5.383 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006858/0.02878, allocations: 1.018 MB / 477.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.029, allocations: 147.6 kB / 477.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002605/0.02926, allocations: 39.8 kB / 477.4 MB, free: 4.168 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 (164) * Number of variables: 226 (161) Notification: Performance of Bindings: time 0.003487/0.03275, allocations: 3.59 MB / 481 MB, free: 392 kB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0004797/0.03323, allocations: 446.8 kB / 481.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Early Inline: time 0.00172/0.03495, allocations: 1.775 MB / 483.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplify1: time 0.0003636/0.03531, allocations: 283.5 kB / 483.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Alias: time 0.00315/0.03846, allocations: 2.464 MB / 485.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simplify2: time 0.0002812/0.03874, allocations: 223.4 kB / 486.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of Detect States: time 0.000554/0.0393, allocations: 428.4 kB / 486.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of Events: time 0.0002418/0.03954, allocations: 171.8 kB / 486.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0007651/0.0403, allocations: 0.7025 MB / 487.5 MB, free: 9.355 MB / 366.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|6) Unmatched Variables *************************** [ALGB] (1) Real $FUN_7 [DER-] (3) Real[3] $DER.sm_ctrl.motor.i_s slice: {0, 1} [ALGB] (2) protected Real[2] sm_ctrl.motor.omega [ALGB] (1) Real sm_ctrl.rotor.a (4|6) Unmatched Equations *************************** [ARRY] (2) sm_ctrl.motor.psi_s = {sm_ctrl.motor.c.L_s[1] * sm_ctrl.motor.i_s[1] + sm_ctrl.motor.c.Psi_pm, sm_ctrl.motor.c.L_s[2] * sm_ctrl.motor.i_s[2]} ($RES_SIM_51) [ARRY] (2) sm_ctrl.inverter.AC.theta = sm_ctrl.motor.term.theta ($RES_SIM_158) [SCAL] (1) sm_ctrl.rotor.w = $DER.frictTorq.phi ($RES_SIM_80) [SCAL] (1) sm_ctrl.rotor.friction.phi = frictTorq.phi ($RES_SIM_84)