Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadModel(PowerSystems): time 2.304/2.304, allocations: 232.9 MB / 248.1 MB, free: 10.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.92e-05, allocations: 4 kB / 304.4 MB, free: 1.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3387, allocations: 53.23 MB / 357.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.01053/0.3493, allocations: 6.617 MB / 364.2 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004477/0.3539, allocations: 1.591 MB / 365.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009133/0.3548, allocations: 59.62 kB / 365.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.3553, allocations: 131.1 kB / 366 MB, free: 7.035 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.3567, allocations: 366.8 kB / 366.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008875/0.3576, allocations: 247.5 kB / 366.6 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009563/0.3585, allocations: 431.1 kB / 367 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/0.3591, allocations: 238.8 kB / 367.2 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007426/0.3598, allocations: 326.9 kB / 367.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007373/0.3606, allocations: 315.1 kB / 367.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3607, allocations: 24 kB / 367.9 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.3608, allocations: 24 kB / 367.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.3612, allocations: 263.3 kB / 368.2 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.3615, allocations: 76 kB / 368.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.3626, allocations: 0.6858 MB / 368.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3626, allocations: 0 / 368.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.3626, allocations: 0 / 368.9 MB, free: 4.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.3626, allocations: 0 / 368.9 MB, free: 4.086 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002499/0.3651, allocations: 0.9427 MB / 369.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3652, allocations: 11.97 kB / 369.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.3655, allocations: 86.97 kB / 370 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.3669, allocations: 0.5524 MB / 370.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.3671, allocations: 112.7 kB / 370.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.3673, allocations: 71.94 kB / 370.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/0.3699, allocations: 0.8652 MB / 371.6 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.3699, allocations: 7.938 kB / 371.6 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/0.37, allocations: 20 kB / 371.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002102/0.3703, allocations: 45.28 kB / 371.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.3725, allocations: 0.6295 MB / 372.3 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.3787, allocations: 2.774 MB / 375 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.3819, allocations: 0.9206 MB / 376 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/0.382, allocations: 16.31 kB / 376 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.3833, allocations: 358.2 kB / 376.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 6.162e-06/0.3834, allocations: 0 / 376.3 MB, free: 12.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.007143/0.3905, allocations: 2.003 MB / 378.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/0.3906, allocations: 114.8 kB / 378.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008776/0.3915, allocations: 461.8 kB / 378.9 MB, free: 9.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/0.3916, allocations: 37.7 kB / 378.9 MB, free: 9.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.392, allocations: 390.3 kB / 379.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.3922, allocations: 142 kB / 379.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.3923, allocations: 16 kB / 379.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3924, allocations: 334.8 kB / 379.8 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.393, allocations: 205.1 kB / 380 MB, free: 8.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.3937, allocations: 374.2 kB / 380.4 MB, free: 8.035 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007071/0.3944, allocations: 298.4 kB / 380.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.3945, allocations: 4 kB / 380.7 MB, free: 7.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001948/0.3964, allocations: 0.8047 MB / 381.5 MB, free: 6.895 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.3965, allocations: 53.64 kB / 381.5 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.3966, allocations: 8 kB / 381.5 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.3969, allocations: 74.02 kB / 381.6 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.3977, allocations: 115.8 kB / 381.7 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.4011, allocations: 2.899 MB / 384.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.4018, allocations: 36.03 kB / 384.6 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.402, allocations: 43.97 kB / 384.7 MB, free: 3.391 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$whenCondition1,$PRE.dc_ac.modulator.gates[1],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.t0,dc_ac.modulator.t0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005592/0.4025, allocations: 270.2 kB / 384.9 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4027, allocations: 59.25 kB / 385 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.4052, allocations: 0.7082 MB / 385.7 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.4053, allocations: 4 kB / 385.7 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4053, allocations: 4 kB / 385.7 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4053, allocations: 3.953 kB / 385.7 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.4095, allocations: 1.536 MB / 387.3 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.4096, allocations: 4 kB / 387.3 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005714/0.4101, allocations: 55.97 kB / 387.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.4106, allocations: 85.56 kB / 387.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.716e-05/0.4107, allocations: 19.98 kB / 387.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/0.4139, allocations: 2.911 MB / 390.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.4139, allocations: 4.031 kB / 390.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/0.4176, allocations: 1.115 MB / 391.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.4181, allocations: 172.4 kB / 391.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.4183, allocations: 31.98 kB / 391.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.419, allocations: 39.95 kB / 391.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.4192, allocations: 35.91 kB / 391.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.4192, allocations: 15.98 kB / 391.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006402/0.4199, allocations: 358.8 kB / 392.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4199, allocations: 0 / 392.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009143/0.4208, allocations: 148 kB / 392.2 MB, free: 11.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0002714/0.4211, allocations: 135 kB / 392.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.4236, allocations: 0.8899 MB / 393.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4237, allocations: 0 / 393.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.4252, allocations: 0.5019 MB / 393.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4264, allocations: 132.2 kB / 393.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.4308, allocations: 1.843 MB / 395.7 MB, free: 7.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/0.4317, allocations: 0.9915 MB / 396.7 MB, free: 6.711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.432, allocations: 51.38 kB / 396.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.432, allocations: 0 / 396.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of Templates: time 0.02767/0.4597, allocations: 12.94 MB / 409.7 MB, free: 9.719 MB / 346.7 MB