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: translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm_ctrl.motor.i_meas.1.|asm_ctrl.motor.i_meas.2.|asm_ctrl.motor.slip|asm_ctrl.motor.tau_el|asm_ctrl.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|asm_ctrl.motor.i_meas.1.|asm_ctrl.motor.i_meas.2.|asm_ctrl.motor.slip|asm_ctrl.motor.tau_el|asm_ctrl.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007286/0.0007286, allocations: 92.61 kB / 16.32 MB, free: 6.457 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.0008019/0.0008019, allocations: 179.8 kB / 17.21 MB, free: 6.324 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.249/1.249, allocations: 223.3 MB / 241.2 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2804/0.2804, allocations: 38.07 MB / 330.4 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 8 kB / 400.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2503, allocations: 59.17 MB / 459.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.006739/0.257, allocations: 7.826 MB / 467.1 MB, free: 24.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.264, allocations: 4.993 MB / 472.1 MB, free: 21.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009716/0.265, allocations: 55.34 kB / 472.1 MB, free: 21.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007975/0.273, allocations: 4.458 MB / 476.6 MB, free: 20.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.2748, allocations: 0.6545 MB / 477.2 MB, free: 19.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.276, allocations: 421.7 kB / 477.6 MB, free: 19.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002903/0.2789, allocations: 2.979 MB / 480.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.2804, allocations: 1.353 MB / 482 MB, free: 16.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/0.2813, allocations: 0.6816 MB / 482.6 MB, free: 16.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009063/0.2823, allocations: 0.8602 MB / 483.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.2824, allocations: 64 kB / 483.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.283, allocations: 419.4 kB / 484 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003536/0.2834, allocations: 0.4947 MB / 484.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.2836, allocations: 301 kB / 484.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.2846, allocations: 1.847 MB / 486.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2847, allocations: 0 / 486.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2847, allocations: 0 / 486.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.2847, allocations: 4 kB / 486.6 MB, free: 12.57 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.002651/0.2874, allocations: 1.663 MB / 488.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2874, allocations: 12.03 kB / 488.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.2878, allocations: 154.2 kB / 488.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.2893, allocations: 1.016 MB / 489.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.2895, allocations: 191.3 kB / 489.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.2896, allocations: 127.9 kB / 489.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.2922, allocations: 1.905 MB / 491.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.2922, allocations: 11.94 kB / 491.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.2923, allocations: 44 kB / 491.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.2925, allocations: 85.95 kB / 491.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.2947, allocations: 1.518 MB / 493.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005863/0.3006, allocations: 6.064 MB / 499.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/0.3036, allocations: 1.45 MB / 0.4891 GB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.3049, allocations: 0.7184 MB / 0.4898 GB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.557e-05/0.305, allocations: 17.14 kB / 0.4898 GB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001625/0.3067, allocations: 0.9239 MB / 0.4907 GB, free: 12.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=100): time 2.624e-06/0.3067, allocations: 0 / 0.4907 GB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.008491/0.3152, allocations: 4.613 MB / 0.4952 GB, free: 7.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.3153, allocations: 157.5 kB / 0.4954 GB, free: 7.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.3163, allocations: 0.8255 MB / 0.4962 GB, free: 6.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.558e-05/0.3164, allocations: 57.69 kB / 0.4962 GB, free: 6.328 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.3168, allocations: 0.5499 MB / 0.4968 GB, free: 5.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.3171, allocations: 343.2 kB / 0.4971 GB, free: 5.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.3171, allocations: 24 kB / 0.4971 GB, free: 5.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3173, allocations: 357.9 kB / 0.4975 GB, free: 5.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009212/0.3182, allocations: 0.6155 MB / 0.4981 GB, free: 4.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.3193, allocations: 0.9188 MB / 0.499 GB, free: 3.391 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