Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadModel(PowerSystems): time 2.318/2.318, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.123e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3786, allocations: 53.22 MB / 357.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.007258/0.3859, allocations: 4.346 MB / 361.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.3901, allocations: 1.54 MB / 363.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005069/0.3906, allocations: 26.94 kB / 363.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.3909, allocations: 79.2 kB / 363.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009344/0.3919, allocations: 221.5 kB / 363.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.3928, allocations: 212.9 kB / 364 MB, free: 9.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.3935, allocations: 228.5 kB / 364.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.3945, allocations: 444.4 kB / 364.7 MB, free: 8.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.395, allocations: 164.1 kB / 364.8 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/0.3955, allocations: 211.8 kB / 365 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.3959, allocations: 79.28 kB / 365.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.913e-05/0.396, allocations: 19.81 kB / 365.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.3963, allocations: 182.2 kB / 365.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.3965, allocations: 42.56 kB / 365.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007617/0.3972, allocations: 450.9 kB / 365.8 MB, free: 8.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3972, allocations: 3.938 kB / 365.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3973, allocations: 0 / 365.8 MB, free: 8.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.3973, allocations: 0 / 365.8 MB, free: 8.105 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001623/0.3989, allocations: 0.6396 MB / 366.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.399, allocations: 10.09 kB / 366.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.4, allocations: 97.58 kB / 366.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009519/0.4009, allocations: 391.4 kB / 366.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.401, allocations: 31.91 kB / 366.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.4012, allocations: 55.52 kB / 367 MB, free: 7.117 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.4028, allocations: 0.6542 MB / 367.6 MB, free: 6.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.4028, allocations: 5.469 kB / 367.7 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.4029, allocations: 21.38 kB / 367.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002672/0.4032, allocations: 46.81 kB / 367.7 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.4046, allocations: 486 kB / 368.2 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005689/0.4103, allocations: 3.163 MB / 371.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.4111, allocations: 249.6 kB / 371.6 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.4112, allocations: 8.25 kB / 371.6 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.4112, allocations: 38.73 kB / 371.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.336e-06/0.4113, allocations: 0 / 371.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.002464/0.4137, allocations: 0.8839 MB / 372.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.4138, allocations: 85.05 kB / 372.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.4144, allocations: 291.5 kB / 372.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.4144, allocations: 29.7 kB / 372.9 MB, free: 1.602 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.4147, allocations: 345.5 kB / 373.3 MB, free: 1.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4148, allocations: 90.75 kB / 373.4 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.4149, allocations: 12.12 kB / 373.4 MB, free: 1.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.415, allocations: 330.8 kB / 373.7 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.4154, allocations: 132.8 kB / 373.8 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005472/0.416, allocations: 321.1 kB / 374.1 MB, free: 300 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.4165, allocations: 191.8 kB / 374.3 MB, free: 108 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4165, allocations: 4 kB / 374.3 MB, free: 104 kB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00182/0.4183, allocations: 0.5768 MB / 374.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.4184, allocations: 8.938 kB / 374.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001065/0.4195, allocations: 329.2 kB / 375.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007137/0.4202, allocations: 122 kB / 375.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.4208, allocations: 87.89 kB / 375.4 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004171/0.425, allocations: 3.061 MB / 378.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.4255, allocations: 20.11 kB / 378.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.4256, allocations: 24 kB / 378.5 MB, free: 11.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003943/0.426, allocations: 213.4 kB / 378.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.648e-05/0.4261, allocations: 31.53 kB / 378.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008785/0.427, allocations: 320.8 kB / 379.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.427, allocations: 4 kB / 379.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.427, allocations: 4 kB / 379.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.4271, allocations: 7.938 kB / 379.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.4289, allocations: 0.7977 MB / 379.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.4289, allocations: 4 kB / 379.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.4295, allocations: 52.25 kB / 380 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.4296, allocations: 8.062 kB / 380 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.4296, allocations: 11.94 kB / 380 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.4296, allocations: 7.938 kB / 380 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4297, allocations: 0 / 380 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.4308, allocations: 0.5493 MB / 380.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.4311, allocations: 124.8 kB / 380.7 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.4312, allocations: 8 kB / 380.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4315, allocations: 11.98 kB / 380.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.4316, allocations: 15.92 kB / 380.7 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.4316, allocations: 12 kB / 380.7 MB, free: 9.285 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004278/0.4321, allocations: 219 kB / 380.9 MB, free: 9.074 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.4321, allocations: 4 kB / 380.9 MB, free: 9.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007417/0.4329, allocations: 104 kB / 381 MB, free: 8.969 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0002774/0.4331, allocations: 112 kB / 381.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.4346, allocations: 0.5722 MB / 381.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4346, allocations: 0 / 381.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.435, allocations: 128.6 kB / 381.8 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.4356, allocations: 62.05 kB / 381.9 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.4383, allocations: 1.263 MB / 383.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.439, allocations: 0.8779 MB / 384 MB, free: 5.855 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4392, allocations: 35.42 kB / 384.1 MB, free: 5.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4392, allocations: 0 / 384.1 MB, free: 5.82 MB / 314.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.