Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadModel(PowerSystems): time 2.313/2.313, allocations: 232.9 MB / 248.1 MB, free: 10.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.03e-05, allocations: 7.438 kB / 304.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3853, allocations: 53.21 MB / 357.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.007476/0.3928, allocations: 4.289 MB / 361.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.3971, allocations: 1.515 MB / 363.4 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005772/0.3977, allocations: 27.31 kB / 363.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.398, allocations: 63.58 kB / 363.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.399, allocations: 232.4 kB / 363.7 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.4, allocations: 229.5 kB / 363.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000669/0.4007, allocations: 247 kB / 364.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.4018, allocations: 480.3 kB / 364.6 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.4023, allocations: 183.6 kB / 364.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.403, allocations: 265.1 kB / 365.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.4034, allocations: 90.84 kB / 365.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.4035, allocations: 19.62 kB / 365.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.4038, allocations: 199.3 kB / 365.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.404, allocations: 44.91 kB / 365.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.4049, allocations: 498.7 kB / 365.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4049, allocations: 0 / 365.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4049, allocations: 0 / 365.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.405, allocations: 0 / 365.9 MB, free: 8.258 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002436/0.4074, allocations: 0.7122 MB / 366.6 MB, free: 7.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.4075, allocations: 13.11 kB / 366.6 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/0.4084, allocations: 94.34 kB / 366.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.4102, allocations: 484 kB / 367.2 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/0.4103, allocations: 41.89 kB / 367.2 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.4106, allocations: 50.77 kB / 367.3 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.4122, allocations: 0.6792 MB / 368 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.4123, allocations: 6.094 kB / 368 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.4124, allocations: 20.5 kB / 368 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001943/0.4126, allocations: 32.58 kB / 368 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.414, allocations: 0.5203 MB / 368.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006324/0.4204, allocations: 3.133 MB / 371.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.4214, allocations: 321.2 kB / 372 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.4214, allocations: 8.062 kB / 372 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.4215, allocations: 38.55 kB / 372 MB, free: 2.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.036e-06/0.4215, allocations: 4 kB / 372 MB, free: 2.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.003203/0.4247, allocations: 1.198 MB / 373.2 MB, free: 1.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.4248, allocations: 81.11 kB / 373.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.4254, allocations: 348.8 kB / 373.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.4255, allocations: 33.7 kB / 373.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.4258, allocations: 345.7 kB / 374 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.4259, allocations: 122.3 kB / 374.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.426, allocations: 12 kB / 374.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.4262, allocations: 330.8 kB / 374.5 MB, free: 240 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.4267, allocations: 193 kB / 374.7 MB, free: 48 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/0.4274, allocations: 377.5 kB / 375 MB, free: 15.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/0.4281, allocations: 251.7 kB / 375.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4281, allocations: 4 kB / 375.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00381/0.4319, allocations: 0.8264 MB / 376.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.432, allocations: 20 kB / 376.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.432, allocations: 8 kB / 376.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003024/0.4351, allocations: 305.3 kB / 376.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.4364, allocations: 147.8 kB / 376.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008561/0.445, allocations: 3.915 MB / 380.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/0.4457, allocations: 23.98 kB / 380.5 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.4458, allocations: 27.98 kB / 380.5 MB, free: 9.789 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004234/0.4462, allocations: 221.4 kB / 380.8 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4464, allocations: 39.53 kB / 380.8 MB, free: 9.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.4477, allocations: 493.1 kB / 381.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4478, allocations: 4 kB / 381.3 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.4478, allocations: 11.94 kB / 381.3 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4478, allocations: 0 / 381.3 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.4503, allocations: 1.027 MB / 382.3 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4503, allocations: 0 / 382.3 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008899/0.4512, allocations: 87.88 kB / 382.4 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/0.4512, allocations: 4 kB / 382.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.4513, allocations: 23.88 kB / 382.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.4513, allocations: 0 / 382.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4513, allocations: 4 kB / 382.4 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/0.4536, allocations: 0.7896 MB / 383.2 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.4539, allocations: 112.6 kB / 383.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.454, allocations: 8.062 kB / 383.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.4547, allocations: 23.97 kB / 383.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.4548, allocations: 27.91 kB / 383.4 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.4549, allocations: 12.09 kB / 383.4 MB, free: 6.781 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000635/0.4555, allocations: 267.1 kB / 383.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4555, allocations: 0 / 383.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001262/0.4568, allocations: 124 kB / 383.8 MB, free: 6.398 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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.0003387/0.4572, allocations: 127 kB / 383.9 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.4604, allocations: 0.7839 MB / 384.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4604, allocations: 0 / 384.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.4611, allocations: 207.6 kB / 384.9 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009574/0.4621, allocations: 70.45 kB / 385 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004549/0.4666, allocations: 1.57 MB / 386.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/0.4677, allocations: 0.9174 MB / 387.5 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.4681, allocations: 43.42 kB / 387.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4681, allocations: 0 / 387.5 MB, free: 2.586 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.