Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadModel(PowerSystems): time 2.246/2.246, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.508e-05, allocations: 11.98 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3649, allocations: 53.21 MB / 357.6 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006826/0.3718, allocations: 4.052 MB / 361.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002733/0.3746, allocations: 1.008 MB / 362.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.3751, allocations: 22.91 kB / 362.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3753, allocations: 63.78 kB / 362.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007336/0.376, allocations: 178 kB / 362.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.3764, allocations: 115.9 kB / 363 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004702/0.3769, allocations: 203.9 kB / 363.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.3772, allocations: 85.78 kB / 363.3 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.3776, allocations: 144.7 kB / 363.4 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004601/0.3781, allocations: 167.6 kB / 363.6 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.3782, allocations: 17.38 kB / 363.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.3783, allocations: 10.66 kB / 363.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.3784, allocations: 97.55 kB / 363.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3785, allocations: 29.91 kB / 363.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.379, allocations: 276.7 kB / 364 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.379, allocations: 0 / 364 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.379, allocations: 0 / 364 MB, free: 9.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.3791, allocations: 1.375 kB / 364 MB, free: 9.566 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001488/0.3806, allocations: 0.5831 MB / 364.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3806, allocations: 9 kB / 364.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.3808, allocations: 37.5 kB / 364.6 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3818, allocations: 378.9 kB / 365 MB, free: 8.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.3818, allocations: 18.25 kB / 365 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.002e-05/0.3819, allocations: 29.19 kB / 365.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008296/0.3828, allocations: 358.1 kB / 365.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.3828, allocations: 1.25 kB / 365.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.3829, allocations: 10.56 kB / 365.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3829, allocations: 14.14 kB / 365.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.3836, allocations: 256.5 kB / 365.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/0.3865, allocations: 1.449 MB / 367.1 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.3869, allocations: 158.6 kB / 367.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.387, allocations: 9.734 kB / 367.3 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.387, allocations: 31.69 kB / 367.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 3.156e-06/0.387, allocations: 1.156 kB / 367.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001793/0.3888, allocations: 0.6804 MB / 368 MB, free: 6.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.3889, allocations: 79.42 kB / 368.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.3894, allocations: 264 kB / 368.4 MB, free: 6.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.3895, allocations: 25.7 kB / 368.4 MB, free: 6.039 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.3897, allocations: 277.1 kB / 368.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.3898, allocations: 54.3 kB / 368.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.3898, allocations: 5.062 kB / 368.7 MB, free: 5.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.39, allocations: 322 kB / 369 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.3902, allocations: 66.11 kB / 369.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.3905, allocations: 160.4 kB / 369.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.3907, allocations: 95.84 kB / 369.3 MB, free: 5.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3907, allocations: 5.188 kB / 369.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006602/0.3914, allocations: 264.1 kB / 369.6 MB, free: 5.023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3915, allocations: 7.188 kB / 369.6 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.3915, allocations: 7.438 kB / 369.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.3915, allocations: 10.23 kB / 369.6 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.392, allocations: 62.88 kB / 369.7 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.392, allocations: 8.859 kB / 369.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.3924, allocations: 16.52 kB / 369.7 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.3924, allocations: 9.438 kB / 369.7 MB, free: 4.984 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002759/0.3927, allocations: 174 kB / 369.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.3928, allocations: 35.47 kB / 369.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006232/0.3934, allocations: 227.8 kB / 370.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3935, allocations: 8 kB / 370.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3935, allocations: 0 / 370.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3935, allocations: 0 / 370.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.3947, allocations: 0.6207 MB / 370.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3948, allocations: 4 kB / 370.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.3951, allocations: 35.97 kB / 370.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3952, allocations: 0 / 370.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.3952, allocations: 8 kB / 370.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3952, allocations: 0 / 370.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3952, allocations: 4.031 kB / 370.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/0.3961, allocations: 452.3 kB / 371.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3962, allocations: 108.7 kB / 371.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.3963, allocations: 0 / 371.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.3966, allocations: 16.05 kB / 371.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3967, allocations: 11.98 kB / 371.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.3967, allocations: 8 kB / 371.4 MB, free: 3.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003208/0.397, allocations: 207 kB / 371.6 MB, free: 3.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.3971, allocations: 3.938 kB / 371.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000544/0.3976, allocations: 64 kB / 371.7 MB, free: 2.953 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0002553/0.3979, allocations: 124.2 kB / 371.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.3985, allocations: 189.3 kB / 372 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3985, allocations: 0 / 372 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.3987, allocations: 86.7 kB / 372.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.3994, allocations: 61.61 kB / 372.1 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.4011, allocations: 0.8266 MB / 373 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.4017, allocations: 0.8184 MB / 373.8 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.4018, allocations: 23.44 kB / 373.8 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4018, allocations: 0 / 373.8 MB, free: 0.7617 MB / 298.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.