Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.SM_ctrl.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.SM_ctrl,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|loadInertia.flange_a.tau|loadInertia.w|sm_ctrl.motor.tau_el|sm_ctrl.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.SM_ctrl") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrl,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|loadInertia.flange_a.tau|loadInertia.w|sm_ctrl.motor.tau_el|sm_ctrl.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.SM_ctrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007527/0.0007527, allocations: 95.69 kB / 16.96 MB, free: 6.41 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.0008188/0.0008187, allocations: 179.5 kB / 17.84 MB, free: 5.969 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.309/1.309, allocations: 223.2 MB / 241.8 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1685/0.1685, allocations: 38.08 MB / 331 MB, free: 8.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003174/0.0003174, allocations: 8 kB / 400.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1069, allocations: 59.17 MB / 459.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrl): time 0.008646/0.1156, allocations: 7.599 MB / 467.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0075/0.1232, allocations: 3.298 MB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.1243, allocations: 51.69 kB / 470.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.125, allocations: 226.4 kB / 471 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001939/0.127, allocations: 0.7583 MB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1281, allocations: 383.4 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.1307, allocations: 1.984 MB / 474.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.1327, allocations: 1.292 MB / 475.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.1337, allocations: 0.5992 MB / 476 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.1348, allocations: 0.7124 MB / 476.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.1349, allocations: 60 kB / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.136, allocations: 0.6123 MB / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004642/0.1365, allocations: 462.7 kB / 477.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.1368, allocations: 293 kB / 478.2 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.1387, allocations: 1.882 MB / 480.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1387, allocations: 0 / 480.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1387, allocations: 0 / 480.1 MB, free: 3.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.1387, allocations: 0 / 480.1 MB, free: 3.125 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003668/0.1424, allocations: 1.66 MB / 481.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1425, allocations: 8.031 kB / 481.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/0.1434, allocations: 190.2 kB / 481.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.1452, allocations: 0.9292 MB / 482.8 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.1454, allocations: 199.2 kB / 483 MB, free: 0 / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/0.1457, allocations: 120 kB / 483.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/0.149, allocations: 1.845 MB / 485 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.149, allocations: 7.922 kB / 485 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.1491, allocations: 44 kB / 485 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.1493, allocations: 77.97 kB / 485.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.152, allocations: 1.448 MB / 486.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008652/0.1607, allocations: 6.396 MB / 493 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.1635, allocations: 1.259 MB / 494.2 MB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.1647, allocations: 0.6219 MB / 494.8 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/0.1648, allocations: 20.8 kB / 494.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.1663, allocations: 0.7918 MB / 495.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=88): time 3.036e-06/0.1663, allocations: 0 / 495.7 MB, free: 2.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.007814/0.1741, allocations: 3.622 MB / 499.3 MB, free: 15.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.1743, allocations: 153.2 kB / 499.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1754, allocations: 0.8213 MB / 0.4885 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/0.1755, allocations: 57.69 kB / 0.4886 GB, free: 14.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/0.1759, allocations: 0.5613 MB / 0.4891 GB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.1762, allocations: 307.7 kB / 0.4894 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.1763, allocations: 20 kB / 0.4894 GB, free: 13.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.1765, allocations: 418.7 kB / 0.4898 GB, free: 12.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/0.1773, allocations: 0.5101 MB / 0.4903 GB, free: 12.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.1784, allocations: 0.8461 MB / 0.4912 GB, free: 11.37 MB / 382.1 MB Error: The initialization problem of given system is mixed-determined. It is under- as well as overdetermined and the mixed-determination-index is too high. [index > 10] Please checkout the option "--maxMixedDeterminedIndex" to simulate with a higher threshold or consider changing some initial equations, fixed variables and start values. Use -d=initialization for more information. Error: No system for the symbolic initialization was generated