Running command: translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadModel(PowerSystems): time 2.603/2.603, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.72e-05/3.7e-05, allocations: 8 kB / 304.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3926, allocations: 53.22 MB / 357.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.009469/0.4021, allocations: 6.124 MB / 363.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.4078, allocations: 2.048 MB / 365.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009177/0.4088, allocations: 52.41 kB / 365.8 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004575/0.4093, allocations: 128.1 kB / 365.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.4108, allocations: 337.3 kB / 366.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.4122, allocations: 356 kB / 366.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009425/0.4132, allocations: 336.8 kB / 366.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.4151, allocations: 0.7484 MB / 367.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.4158, allocations: 246.9 kB / 367.9 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006965/0.4165, allocations: 321.2 kB / 368.2 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005428/0.4171, allocations: 138.9 kB / 368.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.4172, allocations: 25.09 kB / 368.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005078/0.4177, allocations: 349.4 kB / 368.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.418, allocations: 76.38 kB / 368.8 MB, free: 6.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.4193, allocations: 0.7556 MB / 369.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4193, allocations: 0 / 369.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4194, allocations: 0 / 369.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.173e-05/0.4194, allocations: 0 / 369.6 MB, free: 5.531 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002309/0.4217, allocations: 0.8889 MB / 370.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4218, allocations: 12.03 kB / 370.5 MB, free: 4.578 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.423, allocations: 146.9 kB / 370.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.4244, allocations: 0.5038 MB / 371.1 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.4245, allocations: 58 kB / 371.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.4247, allocations: 75.95 kB / 371.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.4273, allocations: 1.118 MB / 372.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.4274, allocations: 7.938 kB / 372.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.4275, allocations: 32 kB / 372.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.4276, allocations: 53.97 kB / 372.5 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.4299, allocations: 0.8506 MB / 373.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008342/0.4383, allocations: 5.067 MB / 378.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.4395, allocations: 421.6 kB / 378.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.642e-05/0.4396, allocations: 12.03 kB / 378.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.4396, allocations: 46.45 kB / 378.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.787e-06/0.4397, allocations: 0 / 378.8 MB, free: 11.8 MB / 314.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=43>arrayLength(ass1)=43 or m=67>arrayLength(ass2)=43 Error: Internal error It is not possible to select continuous time states because Number of Equations 1 greater than number of States 0 to select from. Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!