Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadModel(PowerSystems): time 2.444/2.444, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.601e-05, allocations: 7.984 kB / 304.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3924, allocations: 53.23 MB / 357.6 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01043/0.4029, allocations: 6.317 MB / 363.9 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005583/0.4085, allocations: 2.066 MB / 366 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008631/0.4095, allocations: 39.75 kB / 366 MB, free: 7.027 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006251/0.4101, allocations: 159 kB / 366.2 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.4118, allocations: 406.7 kB / 366.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.4131, allocations: 295.3 kB / 366.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001187/0.4144, allocations: 483.8 kB / 367.3 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.4162, allocations: 0.7952 MB / 368.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009665/0.4172, allocations: 343 kB / 368.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.4184, allocations: 490.9 kB / 368.9 MB, free: 4.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.4199, allocations: 495.3 kB / 369.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003271/0.4203, allocations: 55.94 kB / 369.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006208/0.4209, allocations: 375.1 kB / 369.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003808/0.4213, allocations: 84 kB / 369.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.4234, allocations: 1.157 MB / 371.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4235, allocations: 0 / 371.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.4235, allocations: 0 / 371.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.502e-05/0.4235, allocations: 0 / 371.1 MB, free: 1.922 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.004483/0.428, allocations: 1.169 MB / 372.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.4281, allocations: 12.03 kB / 372.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.4294, allocations: 142.7 kB / 372.4 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.4317, allocations: 0.6598 MB / 373.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/0.4321, allocations: 175.1 kB / 373.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.4325, allocations: 79.98 kB / 373.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004273/0.4368, allocations: 1.422 MB / 374.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.4369, allocations: 3.938 kB / 374.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.4371, allocations: 39.98 kB / 374.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000404/0.4375, allocations: 81.94 kB / 374.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005335/0.4429, allocations: 1.557 MB / 376.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.4559, allocations: 4.455 MB / 380.9 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004449/0.4604, allocations: 1.251 MB / 382.1 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.4606, allocations: 20.7 kB / 382.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.4607, allocations: 43.22 kB / 382.2 MB, free: 6.516 MB / 314.7 MB Notification: Performance of pre-optimization done (n=101): time 4.92e-06/0.4607, allocations: 0 / 382.2 MB, free: 6.516 MB / 314.7 MB Notification: Performance of matching and sorting (n=102): time 0.01306/0.4738, allocations: 4.174 MB / 386.4 MB, free: 2.191 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.4739, allocations: 90.14 kB / 386.4 MB, free: 2.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.4746, allocations: 345.1 kB / 386.8 MB, free: 1.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.4748, allocations: 41.7 kB / 386.8 MB, free: 1.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.4751, allocations: 386.7 kB / 387.2 MB, free: 1.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/0.4757, allocations: 350.8 kB / 387.5 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.4758, allocations: 19.98 kB / 387.6 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.476, allocations: 354.8 kB / 387.9 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.4781, allocations: 0.6109 MB / 388.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.4803, allocations: 0.7581 MB / 389.3 MB, free: 15.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002297/0.4827, allocations: 0.6901 MB / 390 MB, free: 14.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.4827, allocations: 0 / 390 MB, free: 14.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005189/0.4879, allocations: 1.584 MB / 391.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.488, allocations: 8 kB / 391.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.488, allocations: 4 kB / 391.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000181/0.4882, allocations: 33.03 kB / 391.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005424/0.4937, allocations: 0.636 MB / 392.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.5051, allocations: 6.376 MB / 398.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.5065, allocations: 104 kB / 398.7 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.5067, allocations: 35.92 kB / 398.7 MB, free: 5.145 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007581/0.5074, allocations: 314.2 kB / 399 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.5077, allocations: 75.09 kB / 399.1 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005063/0.5128, allocations: 1.623 MB / 400.7 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-05/0.5129, allocations: 27.92 kB / 400.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5129, allocations: 0 / 400.8 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.513, allocations: 3.984 kB / 400.8 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008448/0.5214, allocations: 2.892 MB / 403.7 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.5215, allocations: 4 kB / 403.7 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00617/0.5277, allocations: 0.683 MB / 404.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001574/0.5279, allocations: 32.81 kB / 404.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001862/0.5281, allocations: 23.98 kB / 404.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.5296, allocations: 1.393 MB / 405.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5296, allocations: 3.938 kB / 405.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007832/0.5374, allocations: 2.673 MB / 408.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.5377, allocations: 132.3 kB / 408.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/0.538, allocations: 27.98 kB / 408.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5392, allocations: 83.86 kB / 408.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.5395, allocations: 84.47 kB / 408.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.5396, allocations: 24 kB / 408.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005136/0.5401, allocations: 275.1 kB / 409.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5402, allocations: 0 / 409.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001296/0.5415, allocations: 236 kB / 409.3 MB, free: 10.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004969/0.542, allocations: 159.1 kB / 409.5 MB, free: 9.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007815/0.5498, allocations: 1.935 MB / 411.4 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.5499, allocations: 0 / 411.4 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006104/0.556, allocations: 1.323 MB / 412.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.5574, allocations: 140.8 kB / 412.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009083/0.5665, allocations: 3.101 MB / 416 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.5676, allocations: 1.1 MB / 417.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007157/0.5683, allocations: 63.42 kB / 417.1 MB, free: 2.227 MB / 346.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5683, allocations: 4 kB / 417.1 MB, free: 2.223 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.