Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm.motor.airgap.tau|asm.motor.slip|bdCond.heat.ports.1..Q_flow|bdCond.heat.ports.2..Q_flow|speed.flange.tau",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 113.1 kB / 17.75 MB, free: 5.324 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.0009768/0.0009767, allocations: 196.6 kB / 18.69 MB, free: 4.398 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.276/1.276, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1632/0.1632, allocations: 38.05 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.287e-05, allocations: 2.281 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.006238/0.006269, allocations: 5.221 MB / 464 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.01165, allocations: 3.985 MB / 468 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.01202, allocations: 15.94 kB / 468 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007969/0.02, allocations: 4.786 MB / 472.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008129/0.02087, allocations: 322.4 kB / 473.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004872/0.02136, allocations: 215.6 kB / 473.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.02338, allocations: 1.665 MB / 475 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006221/0.02401, allocations: 480.3 kB / 475.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004059/0.02443, allocations: 374.6 kB / 475.8 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.02481, allocations: 318.7 kB / 476.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.293e-05/0.02489, allocations: 44 kB / 476.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.02794, allocations: 2.089 MB / 478.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006651/0.02862, allocations: 0.8852 MB / 479.1 MB, free: 2.48 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003751/0.029, allocations: 0.598 MB / 479.7 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.02911, allocations: 83.75 kB / 479.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001105/0.02923, allocations: 15.88 kB / 479.8 MB, free: 1.777 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: 121 (86) * Number of variables: 121 (85) Notification: Performance of Bindings: time 0.002457/0.03169, allocations: 2.817 MB / 482.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0001977/0.0319, allocations: 163.5 kB / 482.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Early Inline: time 0.001118/0.03303, allocations: 1.21 MB / 484 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simplify1: time 9.493e-05/0.03313, allocations: 79.88 kB / 484.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Alias: time 0.001823/0.03496, allocations: 1.718 MB / 485.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simplify2: time 7.067e-05/0.03505, allocations: 63.91 kB / 485.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of Events: time 8.361e-05/0.03514, allocations: 79.83 kB / 485.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of Detect States: time 0.0004662/0.03561, allocations: 295.5 kB / 486.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0004126/0.03604, allocations: 385.9 kB / 486.6 MB, free: 10.61 MB / 366.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(3) {asm.motor.i[1], asm.motor.i[2], asm.motor.i[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: asm.motor.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) asm.motor.heat.ports.Q_flow = -{asm.motor.c.R_s * asm.motor.i * asm.motor.i, $FUN_4 * asm.motor.i_rd * asm.motor.i_rd + $FUN_4 * asm.motor.i_rq * asm.motor.i_rq} ($RES_SIM_12)