Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadModel(PowerSystems): time 2.31/2.31, allocations: 232.9 MB / 248.1 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.933e-05, allocations: 4 kB / 304.4 MB, free: 2.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3786, allocations: 53.23 MB / 357.6 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.00986/0.3885, allocations: 5.925 MB / 363.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.3926, allocations: 1.486 MB / 365 MB, free: 8.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007104/0.3934, allocations: 44.12 kB / 365 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.3939, allocations: 130.9 kB / 365.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.3951, allocations: 299.9 kB / 365.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.3959, allocations: 182 kB / 365.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009116/0.3968, allocations: 412.2 kB / 366 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.3972, allocations: 195.8 kB / 366.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006435/0.3979, allocations: 286.3 kB / 366.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.3987, allocations: 334.9 kB / 366.8 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3989, allocations: 23.19 kB / 366.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.399, allocations: 27.81 kB / 366.9 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.3993, allocations: 234.4 kB / 367.1 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.3996, allocations: 63.78 kB / 367.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009741/0.4006, allocations: 0.6404 MB / 367.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4006, allocations: 0 / 367.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4006, allocations: 5.375 kB / 367.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.4006, allocations: 0 / 367.8 MB, free: 6.824 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002675/0.4033, allocations: 0.8376 MB / 368.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4034, allocations: 12.94 kB / 368.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002803/0.4037, allocations: 71.12 kB / 368.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.4053, allocations: 0.5302 MB / 369.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.4056, allocations: 119.5 kB / 369.4 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.4058, allocations: 56.69 kB / 369.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.408, allocations: 0.7879 MB / 370.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.4081, allocations: 3.938 kB / 370.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/0.4082, allocations: 24 kB / 370.3 MB, free: 4.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/0.4084, allocations: 40.97 kB / 370.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.411, allocations: 0.7494 MB / 371 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/0.4176, allocations: 2.627 MB / 373.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.4207, allocations: 0.845 MB / 374.5 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-05/0.4208, allocations: 8.484 kB / 374.5 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.4208, allocations: 43 kB / 374.6 MB, free: 316 kB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.697e-06/0.4209, allocations: 0 / 374.6 MB, free: 316 kB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.007519/0.4284, allocations: 2.214 MB / 376.8 MB, free: 13.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.4285, allocations: 89.5 kB / 376.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/0.4292, allocations: 349.1 kB / 377.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4293, allocations: 33.7 kB / 377.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.4296, allocations: 327 kB / 377.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.4299, allocations: 177.4 kB / 377.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.4299, allocations: 12 kB / 377.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.4301, allocations: 338.8 kB / 378.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.4312, allocations: 284.9 kB / 378.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.4324, allocations: 397.1 kB / 378.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.4335, allocations: 322 kB / 379.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.4336, allocations: 0 / 379.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002779/0.4363, allocations: 0.8762 MB / 379.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.4364, allocations: 11.95 kB / 380 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.4364, allocations: 3.984 kB / 380 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/0.4369, allocations: 81.77 kB / 380 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.4402, allocations: 395.6 kB / 380.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009813/0.45, allocations: 6.229 MB / 386.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008279/0.4509, allocations: 56.16 kB / 386.7 MB, free: 3.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.451, allocations: 20 kB / 386.7 MB, free: 3.387 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005249/0.4515, allocations: 245.4 kB / 387 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.4517, allocations: 47.44 kB / 387 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.4544, allocations: 0.8593 MB / 387.9 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.4545, allocations: 4 kB / 387.9 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.4545, allocations: 4 kB / 387.9 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4545, allocations: 3.984 kB / 387.9 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005058/0.4596, allocations: 1.723 MB / 389.6 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.4597, allocations: 8.031 kB / 389.6 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00366/0.4633, allocations: 419.5 kB / 390 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.4639, allocations: 85.64 kB / 390.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/0.464, allocations: 19.98 kB / 390.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003415/0.4674, allocations: 2.915 MB / 393 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.4675, allocations: 7.969 kB / 393 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/0.4717, allocations: 1.433 MB / 394.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.472, allocations: 120.6 kB / 394.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.4721, allocations: 16 kB / 394.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/0.4728, allocations: 47.95 kB / 394.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.473, allocations: 47.88 kB / 394.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.4731, allocations: 16 kB / 394.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005066/0.4736, allocations: 275.1 kB / 395 MB, free: 10.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4736, allocations: 0 / 395 MB, free: 10.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001006/0.4746, allocations: 148 kB / 395.1 MB, free: 10.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002167/0.4749, allocations: 119.1 kB / 395.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004948/0.4798, allocations: 1.159 MB / 396.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4799, allocations: 0 / 396.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003995/0.4839, allocations: 0.8879 MB / 397.3 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.4851, allocations: 121.6 kB / 397.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.4909, allocations: 1.914 MB / 399.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007706/0.4917, allocations: 0.9642 MB / 400.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003365/0.4921, allocations: 43.44 kB / 400.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4921, allocations: 0 / 400.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of Templates: time 0.03178/0.5239, allocations: 15.96 MB / 416.3 MB, free: 5.152 MB / 346.7 MB