Running command: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadModel(PowerSystems): time 2.392/2.392, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.451e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3817, allocations: 53.21 MB / 357.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007079/0.3888, allocations: 4.246 MB / 361.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003893/0.3928, allocations: 1.42 MB / 363.2 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005548/0.3934, allocations: 24.03 kB / 363.3 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.3937, allocations: 71.64 kB / 363.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009085/0.3946, allocations: 203.8 kB / 363.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009722/0.3956, allocations: 206.7 kB / 363.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006044/0.3962, allocations: 201.2 kB / 363.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.3975, allocations: 0.5168 MB / 364.4 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/0.398, allocations: 155.8 kB / 364.6 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.3986, allocations: 237 kB / 364.8 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.3991, allocations: 155.9 kB / 365 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3993, allocations: 21.06 kB / 365 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.3996, allocations: 196.7 kB / 365.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3998, allocations: 43.44 kB / 365.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.4007, allocations: 495.4 kB / 365.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4007, allocations: 0 / 365.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4007, allocations: 0 / 365.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.4007, allocations: 1.094 kB / 365.7 MB, free: 8.359 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001942/0.4027, allocations: 0.6654 MB / 366.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4028, allocations: 9.406 kB / 366.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.4039, allocations: 97.33 kB / 366.5 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.4051, allocations: 394.7 kB / 366.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.4052, allocations: 28.94 kB / 366.9 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.4054, allocations: 54.39 kB / 367 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.4071, allocations: 0.672 MB / 367.6 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.4072, allocations: 1.344 kB / 367.6 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/0.4073, allocations: 20.03 kB / 367.6 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003074/0.4076, allocations: 49.06 kB / 367.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.4094, allocations: 0.6593 MB / 368.4 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.4152, allocations: 2.447 MB / 370.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/0.4162, allocations: 357.6 kB / 371.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.19e-05/0.4163, allocations: 12.33 kB / 371.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.4164, allocations: 34.84 kB / 371.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=45): time 4.087e-06/0.4164, allocations: 0 / 371.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.00393/0.4204, allocations: 1.614 MB / 372.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.4205, allocations: 88.97 kB / 372.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.4209, allocations: 254 kB / 373.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.421, allocations: 33.7 kB / 373.2 MB, free: 1.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.4212, allocations: 302.1 kB / 373.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.4215, allocations: 161.6 kB / 373.6 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.4215, allocations: 8 kB / 373.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4217, allocations: 339 kB / 374 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/0.4222, allocations: 213 kB / 374.2 MB, free: 0.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.4229, allocations: 353.7 kB / 374.5 MB, free: 100 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/0.4236, allocations: 272.3 kB / 374.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.4237, allocations: 4 kB / 374.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002082/0.4257, allocations: 0.6888 MB / 375.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.4258, allocations: 11.98 kB / 375.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001471/0.4273, allocations: 0.5113 MB / 376 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005031/0.4278, allocations: 76.78 kB / 376.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.4287, allocations: 107.8 kB / 376.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.4312, allocations: 1.616 MB / 377.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.4318, allocations: 39.94 kB / 377.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.4319, allocations: 20 kB / 377.9 MB, free: 12.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004359/0.4324, allocations: 217.4 kB / 378.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.4325, allocations: 35.56 kB / 378.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.434, allocations: 0.5628 MB / 378.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-05/0.4341, allocations: 12 kB / 378.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.4341, allocations: 0 / 378.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.4341, allocations: 11.92 kB / 378.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003064/0.4372, allocations: 1.192 MB / 379.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4373, allocations: 0 / 379.9 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/0.4381, allocations: 83.88 kB / 380 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.4381, allocations: 0 / 380 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.4382, allocations: 12 kB / 380 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.4382, allocations: 7.984 kB / 380 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4382, allocations: 0 / 380 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.4403, allocations: 0.9598 MB / 380.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.4405, allocations: 112.8 kB / 381.1 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4406, allocations: 11.98 kB / 381.1 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.441, allocations: 23.97 kB / 381.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.4411, allocations: 23.97 kB / 381.1 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.4412, allocations: 12 kB / 381.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003173/0.4415, allocations: 193.9 kB / 381.3 MB, free: 9.008 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4415, allocations: 0 / 381.3 MB, free: 9.008 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007808/0.4423, allocations: 124 kB / 381.4 MB, free: 8.887 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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): 36 * Array equations: 2 * 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.0003981/0.4427, allocations: 136.5 kB / 381.6 MB, free: 8.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.4445, allocations: 0.6599 MB / 382.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4445, allocations: 5.062 kB / 382.2 MB, free: 8.062 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006373/0.4452, allocations: 251.5 kB / 382.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006499/0.4458, allocations: 68.81 kB / 382.5 MB, free: 7.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.4491, allocations: 1.437 MB / 384 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.4498, allocations: 0.8866 MB / 384.9 MB, free: 5.352 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.4501, allocations: 43.42 kB / 384.9 MB, free: 5.309 MB / 314.7 MB Notification: Performance of SimCode: time 1.442e-06/0.4501, allocations: 0 / 384.9 MB, free: 5.309 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.