Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadModel(PowerSystems): time 2.3/2.3, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.841e-05, allocations: 0 / 304.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3437, allocations: 53.22 MB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01493/0.3587, allocations: 9.38 MB / 367 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008913/0.3677, allocations: 3.536 MB / 370.5 MB, free: 2.531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.3691, allocations: 71.56 kB / 370.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.3703, allocations: 302.2 kB / 370.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002879/0.3732, allocations: 0.6462 MB / 371.5 MB, free: 1.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.3751, allocations: 441.9 kB / 371.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001872/0.377, allocations: 0.6809 MB / 372.6 MB, free: 416 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002809/0.3798, allocations: 1.188 MB / 373.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.3809, allocations: 462.6 kB / 374.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.3821, allocations: 0.522 MB / 374.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3833, allocations: 391.3 kB / 375.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.3836, allocations: 48 kB / 375.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000709/0.3843, allocations: 0.5105 MB / 375.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000442/0.3847, allocations: 124 kB / 375.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.3872, allocations: 1.434 MB / 377.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3873, allocations: 0 / 377.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3873, allocations: 0 / 377.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.072e-05/0.3873, allocations: 0 / 377.3 MB, free: 11.7 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003517/0.3909, allocations: 1.268 MB / 378.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.3909, allocations: 12.03 kB / 378.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.3937, allocations: 282.1 kB / 378.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.3967, allocations: 0.8859 MB / 379.7 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.866e-05/0.3969, allocations: 82.09 kB / 379.8 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005388/0.3974, allocations: 139.9 kB / 379.9 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/0.4022, allocations: 1.466 MB / 381.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-05/0.4023, allocations: 19.89 kB / 381.4 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.4025, allocations: 40 kB / 381.5 MB, free: 7.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006837/0.4032, allocations: 98.16 kB / 381.6 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004455/0.4077, allocations: 1.242 MB / 382.8 MB, free: 6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.4251, allocations: 5.672 MB / 388.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.4272, allocations: 0.5898 MB / 389.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.4274, allocations: 12.61 kB / 389.1 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.4275, allocations: 43.12 kB / 389.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 5.12e-06/0.4275, allocations: 0 / 389.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.01674/0.4442, allocations: 3.617 MB / 392.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.4444, allocations: 89.72 kB / 392.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.4461, allocations: 0.629 MB / 393.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.4463, allocations: 41.7 kB / 393.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007062/0.447, allocations: 0.602 MB / 394.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004576/0.4475, allocations: 280.1 kB / 394.4 MB, free: 9.879 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4476, allocations: 20 kB / 394.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.4478, allocations: 354.8 kB / 394.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.4493, allocations: 385.8 kB / 395.1 MB, free: 9.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.451, allocations: 0.6613 MB / 395.8 MB, free: 8.344 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.4528, allocations: 0.4948 MB / 396.3 MB, free: 7.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.4528, allocations: 4 kB / 396.3 MB, free: 7.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.007447/0.4603, allocations: 1.655 MB / 397.9 MB, free: 6.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.4604, allocations: 12.28 kB / 397.9 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006318/0.4667, allocations: 1.307 MB / 399.2 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004316/0.471, allocations: 0.5718 MB / 399.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.4727, allocations: 179.7 kB / 400 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02707/0.4998, allocations: 9.617 MB / 409.6 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.5016, allocations: 47.97 kB / 409.7 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002309/0.5018, allocations: 43.94 kB / 409.7 MB, free: 9.816 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (95): * Single equations (assignments): 91 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.001361/0.5032, allocations: 393.1 kB / 410.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.5035, allocations: 90.97 kB / 410.2 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/0.5074, allocations: 1.257 MB / 411.4 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.5075, allocations: 11.95 kB / 411.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5075, allocations: 4 kB / 411.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.5075, allocations: 3.984 kB / 411.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006994/0.5145, allocations: 2.409 MB / 413.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.5146, allocations: 8.062 kB / 413.9 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009393/0.5155, allocations: 115.8 kB / 414 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001879/0.5174, allocations: 375.8 kB / 414.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.5176, allocations: 23.98 kB / 414.4 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/0.5295, allocations: 8.584 MB / 422.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.5296, allocations: 3.938 kB / 423 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/0.5342, allocations: 1.777 MB / 424.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/0.5348, allocations: 235.9 kB / 425 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.5351, allocations: 27.92 kB / 425 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/0.5359, allocations: 31.97 kB / 425 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.5361, allocations: 60.38 kB / 425.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.5362, allocations: 31.98 kB / 425.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.5372, allocations: 0.499 MB / 425.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5373, allocations: 0 / 425.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001881/0.5392, allocations: 368 kB / 426 MB, free: 8.609 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004645/0.5396, allocations: 171.9 kB / 426.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003838/0.5435, allocations: 1.567 MB / 427.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5435, allocations: 0 / 427.7 MB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.5462, allocations: 1.099 MB / 428.8 MB, free: 5.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.5477, allocations: 186.2 kB / 429 MB, free: 5.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007719/0.5554, allocations: 3.373 MB / 432.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.5568, allocations: 1.286 MB / 433.6 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/0.5572, allocations: 67.44 kB / 433.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of SimCode: time 3.136e-06/0.5572, allocations: 0 / 433.7 MB, free: 0.6602 MB / 362.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. [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.