Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadModel(PowerSystems): time 2.429/2.429, allocations: 232.9 MB / 248.1 MB, free: 10.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.017e-05, allocations: 4 kB / 304.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3761, allocations: 53.21 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.01396/0.3901, allocations: 6.337 MB / 363.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00931/0.3994, allocations: 2.376 MB / 366.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.4007, allocations: 44.75 kB / 366.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.4017, allocations: 184.1 kB / 366.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002965/0.4047, allocations: 478.5 kB / 367 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.4068, allocations: 377.3 kB / 367.3 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.4088, allocations: 455.4 kB / 367.8 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.4112, allocations: 0.6741 MB / 368.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.4127, allocations: 339.2 kB / 368.8 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.4145, allocations: 488.4 kB / 369.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.4157, allocations: 171.3 kB / 369.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.416, allocations: 34.72 kB / 369.5 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009432/0.417, allocations: 440.5 kB / 369.9 MB, free: 5.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.4176, allocations: 92.59 kB / 370 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002623/0.4202, allocations: 0.9859 MB / 371 MB, free: 4.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4203, allocations: 4 kB / 371 MB, free: 4.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.606e-06/0.4203, allocations: 0 / 371 MB, free: 4.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.007e-05/0.4204, allocations: 0 / 371 MB, free: 4.086 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004413/0.4248, allocations: 1.082 MB / 372.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.4249, allocations: 11.97 kB / 372.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.4275, allocations: 206.5 kB / 372.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.4303, allocations: 0.6581 MB / 372.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.4305, allocations: 57.98 kB / 373 MB, free: 1.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005256/0.431, allocations: 91.98 kB / 373.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004645/0.4357, allocations: 1.38 MB / 374.5 MB, free: 412 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/0.4358, allocations: 11.84 kB / 374.5 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.436, allocations: 36 kB / 374.5 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000672/0.4367, allocations: 121.8 kB / 374.6 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004638/0.4414, allocations: 1.077 MB / 375.7 MB, free: 15.16 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/0.4574, allocations: 5.958 MB / 381.7 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.4603, allocations: 0.7248 MB / 382.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.4605, allocations: 12.61 kB / 382.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001576/0.4621, allocations: 472.6 kB / 382.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 5.641e-06/0.4622, allocations: 0 / 382.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.007074/0.4693, allocations: 2.208 MB / 385.1 MB, free: 5.324 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.4695, allocations: 166.8 kB / 385.2 MB, free: 5.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4706, allocations: 0.5577 MB / 385.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.4708, allocations: 41.83 kB / 385.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005884/0.4714, allocations: 0.5625 MB / 386.4 MB, free: 3.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.4718, allocations: 236.8 kB / 386.6 MB, free: 3.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.335e-05/0.4719, allocations: 20 kB / 386.6 MB, free: 3.688 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4721, allocations: 350.8 kB / 387 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009317/0.473, allocations: 338.3 kB / 387.3 MB, free: 3.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4743, allocations: 0.7542 MB / 388.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.4756, allocations: 0.4995 MB / 388.6 MB, free: 1.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.4757, allocations: 4 kB / 388.6 MB, free: 1.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004145/0.4798, allocations: 1.399 MB / 390 MB, free: 124 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.4799, allocations: 38.7 kB / 390 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002536/0.4825, allocations: 0.7781 MB / 390.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.4837, allocations: 253.5 kB / 391 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4853, allocations: 223.6 kB / 391.3 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/0.4926, allocations: 4.131 MB / 395.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.4937, allocations: 55.95 kB / 395.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.4938, allocations: 60.11 kB / 395.5 MB, free: 10.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000796/0.4947, allocations: 403 kB / 395.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.4949, allocations: 87.03 kB / 396 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.4971, allocations: 0.8398 MB / 396.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.4971, allocations: 11.94 kB / 396.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4972, allocations: 0 / 396.8 MB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.4972, allocations: 7.984 kB / 396.8 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.5017, allocations: 1.767 MB / 398.6 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/0.5018, allocations: 0 / 398.6 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.5033, allocations: 159.8 kB / 398.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.5033, allocations: 4 kB / 398.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/0.5034, allocations: 19.98 kB / 398.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.5034, allocations: 4 kB / 398.8 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5035, allocations: 4 kB / 398.8 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.5066, allocations: 1.362 MB / 400.2 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005595/0.5072, allocations: 204.1 kB / 400.4 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.5074, allocations: 16 kB / 400.4 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.5081, allocations: 31.97 kB / 400.4 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.5082, allocations: 48.45 kB / 400.5 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.5084, allocations: 47.89 kB / 400.5 MB, free: 5.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008131/0.5092, allocations: 423 kB / 400.9 MB, free: 4.684 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5092, allocations: 0 / 400.9 MB, free: 4.684 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001318/0.5105, allocations: 236 kB / 401.1 MB, free: 4.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003908/0.511, allocations: 132.2 kB / 401.3 MB, free: 4.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003185/0.5142, allocations: 1.211 MB / 402.5 MB, free: 3.074 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.5142, allocations: 5.688 kB / 402.5 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.5153, allocations: 462.3 kB / 402.9 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.5164, allocations: 123.8 kB / 403.1 MB, free: 2.492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.5222, allocations: 2.438 MB / 405.5 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.5234, allocations: 1.131 MB / 406.6 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.5238, allocations: 67.42 kB / 406.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.502e-06/0.5238, allocations: 0 / 406.7 MB, free: 14.78 MB / 346.7 MB [CodegenCpp.tpl:4138:14-4138:14:writable] Error: Template error: Unsupported external language: BUILTIN. [CodegenCpp.tpl:4129:14-4129:14:writable] Error: Template error: Unsupported external language: BUILTIN. [CodegenCpp.tpl:4138:14-4138:14:writable] Error: Template error: Unsupported external language: BUILTIN. [CodegenCpp.tpl:4129:14-4129:14:writable] Error: Template error: Unsupported external language: BUILTIN.