Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_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 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_ctrl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASM_ctrl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008206, allocations: 87.7 kB / 16.31 MB, free: 6.453 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.000889/0.0008893, allocations: 180.8 kB / 17.21 MB, free: 6.328 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.688/1.688, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3778/0.3778, allocations: 38.05 MB / 309.7 MB, free: 8.789 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005418/0.0005419, allocations: 16 kB / 376.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1356, allocations: 56.33 MB / 432.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.01072/0.1464, allocations: 7.837 MB / 440.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009292/0.1557, allocations: 5.04 MB / 445.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.1573, allocations: 51.69 kB / 445.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01146/0.1688, allocations: 4.461 MB / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.1716, allocations: 0.6532 MB / 451 MB, free: 4.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.1735, allocations: 415.4 kB / 451.4 MB, free: 4.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005274/0.1788, allocations: 2.99 MB / 454.4 MB, free: 1.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2825/0.4613, allocations: 1.36 MB / 455.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.4629, allocations: 0.6815 MB / 456.4 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.464, allocations: 0.8477 MB / 457.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.4642, allocations: 64.03 kB / 457.3 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000751/0.4649, allocations: 422.5 kB / 457.7 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004629/0.4654, allocations: 0.4924 MB / 458.2 MB, free: 37.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003531/0.4658, allocations: 304.7 kB / 458.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.4674, allocations: 1.837 MB / 460.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4674, allocations: 3.75 kB / 460.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4674, allocations: 0 / 460.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.4674, allocations: 2.625 kB / 460.4 MB, free: 37.12 MB / 382.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.003338/0.4708, allocations: 1.675 MB / 462.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4708, allocations: 9.312 kB / 462.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002502/0.4711, allocations: 183.2 kB / 462.2 MB, free: 36.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00043/0.4715, allocations: 163.1 kB / 462.4 MB, free: 36.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.4733, allocations: 1.01 MB / 463.4 MB, free: 35.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.4735, allocations: 197.8 kB / 463.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.4737, allocations: 121.9 kB / 463.7 MB, free: 35.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.4767, allocations: 1.909 MB / 465.6 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.4768, allocations: 9.594 kB / 465.6 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.4769, allocations: 43 kB / 465.7 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.4771, allocations: 96.77 kB / 465.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.4796, allocations: 1.506 MB / 467.3 MB, free: 35.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007102/0.4868, allocations: 6.072 MB / 473.4 MB, free: 33.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.4896, allocations: 1.455 MB / 474.8 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.4909, allocations: 0.7255 MB / 475.5 MB, free: 32.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-05/0.491, allocations: 12.59 kB / 475.6 MB, free: 32.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/0.4925, allocations: 0.9249 MB / 476.5 MB, free: 32.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.847e-06/0.4925, allocations: 0 / 476.5 MB, free: 32.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=102): time 0.007964/0.5005, allocations: 4.613 MB / 481.1 MB, free: 31.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.5006, allocations: 161.6 kB / 481.2 MB, free: 31.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.5015, allocations: 0.8268 MB / 482.1 MB, free: 31.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-05/0.5015, allocations: 60.19 kB / 482.1 MB, free: 31.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.5019, allocations: 0.548 MB / 482.7 MB, free: 30.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.5021, allocations: 344.6 kB / 483 MB, free: 30.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.5022, allocations: 20.88 kB / 483 MB, free: 30.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.5023, allocations: 362.9 kB / 483.4 MB, free: 30.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008421/0.5031, allocations: 0.6084 MB / 484 MB, free: 30.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/0.5041, allocations: 0.9277 MB / 484.9 MB, free: 29.9 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