Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadModel(PowerSystems): time 2.433/2.433, allocations: 232.9 MB / 248.1 MB, free: 10.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.173e-05, allocations: 4 kB / 304.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3922, allocations: 53.22 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01122/0.4035, allocations: 6.548 MB / 364.1 MB, free: 9.316 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.4097, allocations: 2.146 MB / 366.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.4108, allocations: 47 kB / 366.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007671/0.4116, allocations: 170.4 kB / 366.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.4137, allocations: 430.2 kB / 366.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.4153, allocations: 324 kB / 367.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.4168, allocations: 0.4915 MB / 367.7 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.4189, allocations: 0.7985 MB / 368.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.42, allocations: 338.7 kB / 368.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.4213, allocations: 454.2 kB / 369.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.4229, allocations: 425.3 kB / 369.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003678/0.4233, allocations: 44.25 kB / 369.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006513/0.424, allocations: 368.7 kB / 370.1 MB, free: 4.992 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004741/0.4245, allocations: 88 kB / 370.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.4267, allocations: 1.103 MB / 371.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4268, allocations: 0 / 371.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4268, allocations: 0 / 371.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.818e-05/0.4269, allocations: 0 / 371.3 MB, free: 3.801 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004252/0.4311, allocations: 1.15 MB / 372.4 MB, free: 2.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4312, allocations: 8.031 kB / 372.5 MB, free: 2.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.4326, allocations: 150.7 kB / 372.6 MB, free: 2.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.4349, allocations: 0.6466 MB / 373.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/0.4354, allocations: 175.1 kB / 373.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004514/0.4359, allocations: 95.89 kB / 373.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.44, allocations: 1.37 MB / 374.9 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.653e-05/0.4401, allocations: 11.88 kB / 374.9 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.4403, allocations: 36.03 kB / 374.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002725/0.4406, allocations: 61.92 kB / 375 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004545/0.4452, allocations: 1.339 MB / 376.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.4582, allocations: 4.966 MB / 381.3 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/0.4627, allocations: 1.218 MB / 382.5 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.4629, allocations: 8.625 kB / 382.5 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.4629, allocations: 35.12 kB / 382.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.877e-06/0.4629, allocations: 0 / 382.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.0113/0.4742, allocations: 3.365 MB / 385.9 MB, free: 4.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.4744, allocations: 81.67 kB / 386 MB, free: 4.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.4752, allocations: 409 kB / 386.4 MB, free: 4.172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.4754, allocations: 37.7 kB / 386.4 MB, free: 4.129 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.4758, allocations: 437.7 kB / 386.9 MB, free: 3.695 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.4762, allocations: 252.3 kB / 387.1 MB, free: 3.445 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.4763, allocations: 20.03 kB / 387.1 MB, free: 3.426 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4765, allocations: 354.8 kB / 387.5 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.4784, allocations: 0.5055 MB / 388 MB, free: 2.562 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.4806, allocations: 0.7028 MB / 388.7 MB, free: 1.781 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.4827, allocations: 0.5848 MB / 389.3 MB, free: 1.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4828, allocations: 0 / 389.3 MB, free: 1.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00869/0.4915, allocations: 2.088 MB / 391.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.4916, allocations: 8.938 kB / 391.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007885/0.4995, allocations: 1.836 MB / 393.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00341/0.5029, allocations: 0.6963 MB / 393.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.5042, allocations: 155.8 kB / 394 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.5255, allocations: 7.24 MB / 401.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.5268, allocations: 88.17 kB / 401.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.527, allocations: 36 kB / 401.4 MB, free: 4.727 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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: 1 * Algorithm blocks: 0 * 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%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007182/0.5277, allocations: 313.5 kB / 401.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.528, allocations: 63.23 kB / 401.8 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/0.5323, allocations: 1.332 MB / 403.1 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/0.5324, allocations: 12 kB / 403.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.5324, allocations: 0 / 403.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.5324, allocations: 3.984 kB / 403.1 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007239/0.5396, allocations: 2.445 MB / 405.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.5397, allocations: 0 / 405.6 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005849/0.5456, allocations: 0.6322 MB / 406.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001535/0.5458, allocations: 32.84 kB / 406.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.5459, allocations: 19.92 kB / 406.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.5474, allocations: 1.396 MB / 407.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5474, allocations: 4.031 kB / 407.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006401/0.5539, allocations: 2.108 MB / 409.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.5541, allocations: 128.3 kB / 409.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.5544, allocations: 16 kB / 409.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000996/0.5554, allocations: 75.91 kB / 410 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.5557, allocations: 64.42 kB / 410 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.5558, allocations: 20 kB / 410.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005613/0.5563, allocations: 314.9 kB / 410.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-07/0.5564, allocations: 0 / 410.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001329/0.5577, allocations: 232 kB / 410.6 MB, free: 11.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (68): * Single equations (assignments): 65 * Array equations: 1 * 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.000443/0.5582, allocations: 137.9 kB / 410.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005263/0.5634, allocations: 1.598 MB / 412.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.5635, allocations: 0 / 412.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005548/0.5691, allocations: 1.135 MB / 413.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.5704, allocations: 143.9 kB / 413.6 MB, free: 8.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007281/0.5777, allocations: 2.761 MB / 416.4 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.5788, allocations: 1.091 MB / 417.5 MB, free: 4.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.5794, allocations: 59.42 kB / 417.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of SimCode: time 3.497e-06/0.5794, allocations: 0 / 417.5 MB, free: 4.145 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.