Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadModel(PowerSystems): time 2.385/2.385, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.218e-05, allocations: 4 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.385, allocations: 53.23 MB / 357.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.009725/0.3948, allocations: 5.848 MB / 363.4 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00455/0.3994, allocations: 1.648 MB / 365.1 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007727/0.4003, allocations: 47.38 kB / 365.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.4008, allocations: 135.9 kB / 365.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.402, allocations: 302.6 kB / 365.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/0.403, allocations: 272.8 kB / 365.8 MB, free: 7.941 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.4044, allocations: 0.6096 MB / 366.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.405, allocations: 221 kB / 366.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009809/0.406, allocations: 360.1 kB / 367 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009559/0.4069, allocations: 379.7 kB / 367.4 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.4072, allocations: 33.5 kB / 367.4 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.4073, allocations: 35.41 kB / 367.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004488/0.4078, allocations: 265.7 kB / 367.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002702/0.4081, allocations: 67 kB / 367.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.4094, allocations: 0.8053 MB / 368.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4094, allocations: 0 / 368.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4094, allocations: 0 / 368.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.4095, allocations: 1.219 kB / 368.6 MB, free: 6.266 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003889/0.4134, allocations: 1.034 MB / 369.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4134, allocations: 12.03 kB / 369.6 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/0.4139, allocations: 83.16 kB / 369.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.4161, allocations: 0.6111 MB / 370.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000745/0.4169, allocations: 342.9 kB / 370.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.4171, allocations: 63.95 kB / 370.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.4214, allocations: 1.093 MB / 371.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.4215, allocations: 7.938 kB / 371.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.4216, allocations: 24 kB / 371.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.4217, allocations: 16 kB / 371.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.4271, allocations: 1.194 MB / 373 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008924/0.4361, allocations: 3.265 MB / 376.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004414/0.4406, allocations: 0.8503 MB / 377.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.4407, allocations: 4.438 kB / 377.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002943/0.4437, allocations: 0.6773 MB / 377.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.316e-06/0.4437, allocations: 0 / 377.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.008039/0.4518, allocations: 1.566 MB / 379.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.452, allocations: 140.5 kB / 379.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/0.4527, allocations: 349 kB / 379.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.4529, allocations: 37.7 kB / 379.9 MB, free: 10.83 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.4532, allocations: 338.7 kB / 380.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.4535, allocations: 153.8 kB / 380.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.4536, allocations: 16 kB / 380.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4537, allocations: 330.8 kB / 380.7 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.4559, allocations: 496.9 kB / 381.2 MB, free: 9.504 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.4581, allocations: 0.5913 MB / 381.8 MB, free: 8.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.4603, allocations: 0.4918 MB / 382.3 MB, free: 8.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.4604, allocations: 0 / 382.3 MB, free: 8.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004712/0.4651, allocations: 1.14 MB / 383.4 MB, free: 7.223 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/0.4652, allocations: 49.69 kB / 383.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.4653, allocations: 0 / 383.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.4653, allocations: 8 kB / 383.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/0.4779, allocations: 1.588 MB / 385.1 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.494, allocations: 4.981 MB / 390.1 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.4955, allocations: 139.4 kB / 390.2 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.4957, allocations: 35.97 kB / 390.2 MB, free: 156 kB / 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: 14 ($whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.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): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0006971/0.4964, allocations: 259.2 kB / 390.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.4966, allocations: 47.44 kB / 390.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005552/0.5021, allocations: 1.11 MB / 391.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.5022, allocations: 11.89 kB / 391.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5022, allocations: 4 kB / 391.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.5023, allocations: 3.984 kB / 391.7 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007992/0.5103, allocations: 2.21 MB / 393.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.5103, allocations: 4 kB / 393.9 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0191/0.5294, allocations: 1.83 MB / 395.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-05/0.5295, allocations: 8 kB / 395.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/0.5297, allocations: 15.98 kB / 395.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.5298, allocations: 0 / 395.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.5298, allocations: 4 kB / 395.7 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/0.5411, allocations: 1.97 MB / 397.7 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007621/0.5419, allocations: 200.4 kB / 397.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/0.5422, allocations: 24 kB / 397.9 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.5441, allocations: 127.9 kB / 398.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005295/0.5446, allocations: 99.72 kB / 398.2 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.5448, allocations: 19.98 kB / 398.2 MB, free: 8.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006535/0.5454, allocations: 263.2 kB / 398.4 MB, free: 7.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5454, allocations: 0 / 398.4 MB, free: 7.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001402/0.5469, allocations: 183.5 kB / 398.6 MB, free: 7.598 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003489/0.5472, allocations: 131.1 kB / 398.7 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01965/0.5669, allocations: 2.433 MB / 401.2 MB, free: 5.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.567, allocations: 4.312 kB / 401.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009991/0.577, allocations: 1.152 MB / 402.3 MB, free: 3.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.5786, allocations: 125.6 kB / 402.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008816/0.5875, allocations: 1.903 MB / 404.4 MB, free: 1.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.5885, allocations: 0.9488 MB / 405.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006644/0.5892, allocations: 47.42 kB / 405.3 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5892, allocations: 0 / 405.3 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of Templates: time 0.02779/0.617, allocations: 11.05 MB / 416.4 MB, free: 5.746 MB / 346.7 MB