Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Drives_ASM_ctrl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,fileNamePrefix="PowerSystems_latest_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.001009/0.001009, allocations: 85.42 kB / 16.31 MB, free: 6.449 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.001271/0.001271, allocations: 181 kB / 17.21 MB, free: 6.32 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.422/1.422, allocations: 223.3 MB / 241.2 MB, free: 5.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3412/0.3412, allocations: 38.07 MB / 330.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003726, allocations: 12 kB / 400.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3008, allocations: 59.15 MB / 459.3 MB, free: 30.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.008383/0.3092, allocations: 7.822 MB / 467.1 MB, free: 24.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00915/0.3184, allocations: 5.002 MB / 472.1 MB, free: 21.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.3205, allocations: 54.88 kB / 472.2 MB, free: 21.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.3314, allocations: 4.465 MB / 476.7 MB, free: 19.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.3342, allocations: 0.6508 MB / 477.3 MB, free: 19.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.3357, allocations: 424.7 kB / 477.7 MB, free: 19.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004329/0.3401, allocations: 2.975 MB / 480.7 MB, free: 17.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.3422, allocations: 1.36 MB / 482.1 MB, free: 16.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/0.3436, allocations: 0.6827 MB / 482.8 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.3449, allocations: 0.8508 MB / 483.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.345, allocations: 64 kB / 483.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008041/0.3458, allocations: 423.4 kB / 484.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004624/0.3463, allocations: 0.4986 MB / 484.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.3467, allocations: 297 kB / 484.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.3479, allocations: 1.847 MB / 486.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3479, allocations: 0 / 486.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3479, allocations: 0 / 486.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.3479, allocations: 0 / 486.7 MB, free: 12.38 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.002887/0.3508, allocations: 1.667 MB / 488.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3509, allocations: 8.031 kB / 488.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002176/0.3511, allocations: 181.5 kB / 488.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004505/0.3515, allocations: 162.2 kB / 488.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001704/0.3533, allocations: 1.012 MB / 489.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3534, allocations: 191.3 kB / 489.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.3536, allocations: 123.9 kB / 490 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.3563, allocations: 1.905 MB / 492 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.3563, allocations: 11.94 kB / 492 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.3565, allocations: 55.92 kB / 492 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001932/0.3567, allocations: 89.94 kB / 492.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.359, allocations: 1.503 MB / 493.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006923/0.3659, allocations: 6.068 MB / 499.7 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.3691, allocations: 1.445 MB / 0.4894 GB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3705, allocations: 0.726 MB / 0.4901 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-05/0.3706, allocations: 13 kB / 0.4901 GB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001863/0.3725, allocations: 0.9247 MB / 0.491 GB, free: 11.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 3.386e-06/0.3725, allocations: 0 / 0.491 GB, free: 11.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.009442/0.3819, allocations: 4.617 MB / 0.4955 GB, free: 7.031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.3821, allocations: 153.5 kB / 0.4957 GB, free: 6.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3833, allocations: 0.8216 MB / 0.4965 GB, free: 6.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.3834, allocations: 57.69 kB / 0.4965 GB, free: 5.957 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/0.384, allocations: 0.5499 MB / 0.497 GB, free: 5.398 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.3843, allocations: 351.2 kB / 0.4974 GB, free: 5.051 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.3844, allocations: 20 kB / 0.4974 GB, free: 5.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3846, allocations: 365.9 kB / 0.4978 GB, free: 4.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009807/0.3856, allocations: 0.6116 MB / 0.4984 GB, free: 4.055 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.3867, allocations: 0.9227 MB / 0.4993 GB, free: 3.008 MB / 366.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