Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 108.6 kB / 17.75 MB, free: 5.348 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.001035/0.001035, allocations: 184.6 kB / 18.68 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1769/0.177, allocations: 37.99 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.25e-05, allocations: 2.281 kB / 432.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDC): time 0.006481/0.006511, allocations: 7.09 MB / 439.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.01063, allocations: 2.905 MB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.01112, allocations: 27.88 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.01223, allocations: 369.9 kB / 442.9 MB, free: 5.301 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeBindings: time 0.001802/0.01405, allocations: 0.7855 MB / 443.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.01476, allocations: 299.6 kB / 443.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.01633, allocations: 1.617 MB / 445.6 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009773/0.01732, allocations: 0.9265 MB / 446.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.01802, allocations: 0.619 MB / 447.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006289/0.01866, allocations: 0.5371 MB / 447.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.362e-05/0.01878, allocations: 91.94 kB / 447.7 MB, free: 432 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.01997, allocations: 0.7372 MB / 448.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001192/0.02117, allocations: 1.37 MB / 449.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006007/0.02178, allocations: 0.8566 MB / 450.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.02195, allocations: 135.6 kB / 450.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001663/0.02213, allocations: 27.86 kB / 450.9 MB, free: 13.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 (147) * Number of variables: 271 (144) Notification: Performance of Bindings: time 0.004004/0.02614, allocations: 4.108 MB / 455 MB, free: 9.012 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0003347/0.02648, allocations: 259.1 kB / 455.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002414/0.02891, allocations: 2.35 MB / 457.6 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simplify1: time 0.000164/0.02908, allocations: 139.8 kB / 457.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of Alias: time 0.003253/0.03235, allocations: 2.737 MB / 460.4 MB, free: 3.266 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001504/0.03251, allocations: 115.8 kB / 460.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Events: time 0.0002563/0.03278, allocations: 195.7 kB / 460.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of Detect States: time 0.000609/0.0334, allocations: 0.6017 MB / 461.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0009799/0.03439, allocations: 0.7612 MB / 462.1 MB, free: 1.555 MB / 334.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(1) {$FUN_4}, does not fit the equation size 3. Error: Internal error NBSlice.resolveDependency failed for: $FUN_4. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) bldcm.inverter.modulator.v_abc = {$FUN_4 for $i1 in 1:3} ($RES_SIM_62)