Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadModel(PowerSystems): time 2.331/2.331, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.322e-05, allocations: 0 / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3454, allocations: 53.23 MB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01247/0.358, allocations: 7.488 MB / 365.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.3712, allocations: 4.924 MB / 370 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.3728, allocations: 59.62 kB / 370.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00796/0.3808, allocations: 1.66 MB / 371.7 MB, free: 1.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.3837, allocations: 490.3 kB / 372.2 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.3855, allocations: 331.3 kB / 372.5 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.3876, allocations: 0.5461 MB / 373.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.3904, allocations: 1.012 MB / 374.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.3915, allocations: 370.9 kB / 374.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.3928, allocations: 442.7 kB / 374.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3939, allocations: 251.7 kB / 375.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003082/0.3942, allocations: 44 kB / 375.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007557/0.395, allocations: 379 kB / 375.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.3955, allocations: 100 kB / 375.6 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.3984, allocations: 1.348 MB / 377 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3985, allocations: 0 / 377 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3985, allocations: 0 / 377 MB, free: 12.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.3985, allocations: 0 / 377 MB, free: 12.01 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.004228/0.4028, allocations: 1.1 MB / 378.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.4029, allocations: 11.97 kB / 378.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.4044, allocations: 166.5 kB / 378.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003897/0.4083, allocations: 0.9214 MB / 379.2 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.4085, allocations: 58 kB / 379.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/0.4089, allocations: 103.9 kB / 379.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.4126, allocations: 1.051 MB / 380.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.135e-05/0.4127, allocations: 8 kB / 380.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.4129, allocations: 35.95 kB / 380.4 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005155/0.4134, allocations: 69.95 kB / 380.5 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003384/0.4168, allocations: 0.8236 MB / 381.3 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.4292, allocations: 4.02 MB / 385.3 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002189/0.4314, allocations: 0.6174 MB / 386 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.826e-05/0.4316, allocations: 12.61 kB / 386 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.4316, allocations: 43.06 kB / 386 MB, free: 2.602 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 4.669e-06/0.4317, allocations: 0 / 386 MB, free: 2.602 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.01183/0.4435, allocations: 3.093 MB / 389.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4437, allocations: 115.4 kB / 389.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.4454, allocations: 0.5934 MB / 389.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.4456, allocations: 41.7 kB / 389.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/0.4463, allocations: 489.6 kB / 390.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/0.4468, allocations: 240.6 kB / 390.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/0.4469, allocations: 16 kB / 390.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.4472, allocations: 350.8 kB / 390.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/0.448, allocations: 305.8 kB / 391.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.4491, allocations: 0.5188 MB / 391.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004959/0.454, allocations: 0.9747 MB / 392.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.4541, allocations: 0 / 392.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004002/0.4582, allocations: 1.269 MB / 394 MB, free: 10.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.628e-05/0.4583, allocations: 33.7 kB / 394 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.4583, allocations: 4 kB / 394 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.4602, allocations: 405.4 kB / 394.4 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.4614, allocations: 155.7 kB / 394.6 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.474, allocations: 5.885 MB / 400.5 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.4753, allocations: 27.98 kB / 400.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.4756, allocations: 36 kB / 400.5 MB, free: 3.469 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.windGen.WT.gear.w = $DER.windGen.WT.genRotor.w. 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 (77): * Single equations (assignments): 74 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.4768, allocations: 357.2 kB / 400.9 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.4771, allocations: 83.06 kB / 400.9 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.4798, allocations: 0.8955 MB / 401.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4798, allocations: 8 kB / 401.8 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4799, allocations: 4 kB / 401.9 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4799, allocations: 7.984 kB / 401.9 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005705/0.4856, allocations: 2.022 MB / 403.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.4857, allocations: 0 / 403.9 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.4869, allocations: 132 kB / 404 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009305/0.4879, allocations: 186.3 kB / 404.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.488, allocations: 31.88 kB / 404.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006793/0.4948, allocations: 5.048 MB / 409.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4949, allocations: 3.953 kB / 409.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/0.4982, allocations: 1.342 MB / 410.6 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005461/0.4988, allocations: 216 kB / 410.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.4991, allocations: 23.98 kB / 410.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.4997, allocations: 20 kB / 410.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4999, allocations: 48.48 kB / 410.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.4999, allocations: 20 kB / 410.9 MB, free: 8.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009762/0.5009, allocations: 483 kB / 411.4 MB, free: 7.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.2e-07/0.5009, allocations: 0 / 411.4 MB, free: 7.922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001513/0.5025, allocations: 248 kB / 411.7 MB, free: 7.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.phi_el,windGen.generator.w_el,windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 51 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.5035, allocations: 340.2 kB / 412 MB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003388/0.507, allocations: 1.196 MB / 413.2 MB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.507, allocations: 0 / 413.2 MB, free: 6.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.5087, allocations: 0.7144 MB / 413.9 MB, free: 5.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.51, allocations: 161.8 kB / 414.1 MB, free: 5.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/0.5172, allocations: 3.061 MB / 417.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.5184, allocations: 1.161 MB / 418.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.5188, allocations: 71.41 kB / 418.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5189, allocations: 0 / 418.3 MB, free: 0.8828 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.