Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadModel(PowerSystems): time 2.332/2.332, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.214e-05, allocations: 8 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3612, allocations: 53.22 MB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01639/0.3776, allocations: 10.17 MB / 367.8 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00964/0.3873, allocations: 3.812 MB / 371.6 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.3888, allocations: 79.5 kB / 371.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.3899, allocations: 326 kB / 372 MB, free: 1.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.3928, allocations: 0.689 MB / 372.7 MB, free: 376 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.3951, allocations: 0.5341 MB / 373.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.3972, allocations: 0.77 MB / 374 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003215/0.4004, allocations: 1.373 MB / 375.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.4016, allocations: 0.4906 MB / 375.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.403, allocations: 0.5688 MB / 376.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.4046, allocations: 399.3 kB / 376.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.405, allocations: 52 kB / 376.8 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001007/0.406, allocations: 0.5417 MB / 377.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.4066, allocations: 136 kB / 377.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.4103, allocations: 1.761 MB / 379.3 MB, free: 9.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4104, allocations: 4 kB / 379.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.591e-06/0.4104, allocations: 4 kB / 379.3 MB, free: 9.703 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.18e-05/0.4104, allocations: 3.938 kB / 379.3 MB, free: 9.699 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005071/0.4155, allocations: 1.382 MB / 380.7 MB, free: 8.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.4156, allocations: 12.02 kB / 380.7 MB, free: 8.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003742/0.4194, allocations: 301.8 kB / 381 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/0.4242, allocations: 1.023 MB / 382 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.4244, allocations: 90.33 kB / 382.1 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008036/0.4252, allocations: 147.9 kB / 382.2 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005893/0.4311, allocations: 1.674 MB / 383.9 MB, free: 4.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-05/0.4312, allocations: 7.844 kB / 383.9 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.4315, allocations: 52 kB / 384 MB, free: 4.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006995/0.4322, allocations: 106.3 kB / 384.1 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005844/0.4381, allocations: 1.422 MB / 385.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01895/0.4571, allocations: 6.091 MB / 391.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.4595, allocations: 0.6573 MB / 392.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.4597, allocations: 12.59 kB / 392.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/0.4598, allocations: 39.22 kB / 392.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 5.16e-06/0.4598, allocations: 0 / 392.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.02254/0.4823, allocations: 4.581 MB / 396.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.4826, allocations: 170.9 kB / 397 MB, free: 7.215 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.4846, allocations: 0.7232 MB / 397.7 MB, free: 6.484 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.4848, allocations: 41.7 kB / 397.8 MB, free: 6.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006551/0.4855, allocations: 0.6414 MB / 398.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/0.4859, allocations: 303.7 kB / 398.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.486, allocations: 20 kB / 398.7 MB, free: 5.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4862, allocations: 354.8 kB / 399.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.4876, allocations: 478.3 kB / 399.6 MB, free: 4.645 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001673/0.4893, allocations: 0.7736 MB / 400.3 MB, free: 3.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.491, allocations: 0.6003 MB / 400.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.491, allocations: 0 / 400.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006247/0.4973, allocations: 1.844 MB / 402.8 MB, free: 1.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001602/0.4989, allocations: 3.219 MB / 406 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005536/0.5045, allocations: 1.495 MB / 407.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/0.5079, allocations: 0.5544 MB / 408 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.5112, allocations: 483.3 kB / 408.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.5309, allocations: 10.88 MB / 419.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.5324, allocations: 67.95 kB / 419.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.5326, allocations: 47.98 kB / 419.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5326, allocations: 4 kB / 419.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006005/0.5387, allocations: 1.71 MB / 421.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005158/0.5439, allocations: 1.433 MB / 422.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00302/0.5469, allocations: 0.5231 MB / 423.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.5485, allocations: 215.7 kB / 423.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.5656, allocations: 9.467 MB / 432.9 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000997/0.5666, allocations: 51.88 kB / 432.9 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.5668, allocations: 48.06 kB / 433 MB, free: 1.602 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (117): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001095/0.5679, allocations: 437.1 kB / 433.4 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.5682, allocations: 98.78 kB / 433.5 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/0.5728, allocations: 1.434 MB / 434.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.5728, allocations: 8 kB / 434.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5728, allocations: 4 kB / 434.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.5729, allocations: 3.984 kB / 434.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008338/0.5812, allocations: 2.897 MB / 437.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.5813, allocations: 4 kB / 437.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.5824, allocations: 132.1 kB / 438 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.5844, allocations: 395.7 kB / 438.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.5845, allocations: 35.97 kB / 438.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.597, allocations: 8.764 MB / 447.1 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/0.5971, allocations: 12 kB / 447.2 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/0.6029, allocations: 2.096 MB / 449.3 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009955/0.604, allocations: 267.6 kB / 449.5 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003781/0.6044, allocations: 27.94 kB / 449.5 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.6058, allocations: 48.12 kB / 449.6 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.6061, allocations: 68.5 kB / 449.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.6062, allocations: 31.98 kB / 449.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001554/0.6078, allocations: 0.5657 MB / 450.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.6078, allocations: 0 / 450.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004344/0.6121, allocations: 0.6406 MB / 450.9 MB, free: 14.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,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 (67): * Single equations (assignments): 61 * 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.0006446/0.6128, allocations: 178.8 kB / 451.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01285/0.6257, allocations: 3.29 MB / 454.4 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.6258, allocations: 0 / 454.4 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003955/0.6297, allocations: 1.19 MB / 455.5 MB, free: 9.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.6319, allocations: 202.5 kB / 455.7 MB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.6435, allocations: 3.781 MB / 459.5 MB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/0.6456, allocations: 1.362 MB / 460.9 MB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/0.6462, allocations: 75.42 kB / 461 MB, free: 4.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6462, allocations: 0 / 461 MB, free: 4.32 MB / 394.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. [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.