Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadModel(PowerSystems): time 2.387/2.387, allocations: 232.9 MB / 248.1 MB, free: 10.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.275e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3819, allocations: 53.21 MB / 357.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.007151/0.3891, allocations: 4.31 MB / 361.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003793/0.3929, allocations: 1.433 MB / 363.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.3934, allocations: 28.19 kB / 363.3 MB, free: 9.926 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.3937, allocations: 79.2 kB / 363.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008533/0.3946, allocations: 209.5 kB / 363.6 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008737/0.3955, allocations: 216.2 kB / 363.8 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.396, allocations: 227.5 kB / 364.1 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.3969, allocations: 366.3 kB / 364.4 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.3974, allocations: 175.2 kB / 364.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006191/0.398, allocations: 278.6 kB / 364.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000517/0.3985, allocations: 144.8 kB / 365 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.3987, allocations: 27.44 kB / 365 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.3989, allocations: 193 kB / 365.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.3992, allocations: 47.28 kB / 365.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008876/0.4001, allocations: 0.5403 MB / 365.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4001, allocations: 0 / 365.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4001, allocations: 0 / 365.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.4001, allocations: 0 / 365.8 MB, free: 8.332 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00191/0.402, allocations: 0.7599 MB / 366.6 MB, free: 7.684 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4021, allocations: 8.25 kB / 366.6 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/0.403, allocations: 105.4 kB / 366.7 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009493/0.404, allocations: 407.6 kB / 367.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.404, allocations: 33.17 kB / 367.1 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.4042, allocations: 39.19 kB / 367.1 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.4061, allocations: 0.8569 MB / 368 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.4062, allocations: 4.922 kB / 368 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.846e-05/0.4063, allocations: 25.52 kB / 368 MB, free: 6.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002325/0.4065, allocations: 59.14 kB / 368.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.4085, allocations: 0.7896 MB / 368.9 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005836/0.4144, allocations: 2.74 MB / 371.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.4158, allocations: 0.5837 MB / 372.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.4159, allocations: 4.062 kB / 372.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.4159, allocations: 38.56 kB / 372.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 3.376e-06/0.4159, allocations: 0 / 372.2 MB, free: 2.555 MB / 298.7 MB Internal error: BackendDAEEXT.getAssignment failed because n=56>arrayLength(ass1)=56 or m=78>arrayLength(ass2)=56 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!