Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.265/2.265, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.787e-05, allocations: 4 kB / 301.4 MB, free: 7.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 53.24 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4678/0.5968, allocations: 107.7 MB / 462.3 MB, free: 10.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.5972, allocations: 91.95 kB / 462.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1336/0.7307, allocations: 28.1 MB / 490.5 MB, free: 13.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7308, allocations: 0 / 490.5 MB, free: 13.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.89e-05/0.7309, allocations: 24 kB / 490.5 MB, free: 13.67 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007455/0.7383, allocations: 1.645 MB / 492.2 MB, free: 11.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.7384, allocations: 8.031 kB / 492.2 MB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007447/0.7392, allocations: 164.2 kB / 492.3 MB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.7404, allocations: 170.6 kB / 492.5 MB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008488/0.7489, allocations: 1.638 MB / 494.1 MB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/0.7501, allocations: 0.514 MB / 494.7 MB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006122/0.7508, allocations: 95.97 kB / 494.7 MB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/0.7558, allocations: 1.751 MB / 496.5 MB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.7559, allocations: 11.89 kB / 496.5 MB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.7561, allocations: 35.98 kB / 496.5 MB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002811/0.7564, allocations: 77.95 kB / 496.6 MB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005691/0.7621, allocations: 1.804 MB / 498.4 MB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/0.7803, allocations: 5.752 MB / 0.4924 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004201/0.7845, allocations: 1.283 MB / 0.4936 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.7873, allocations: 0.9651 MB / 0.4946 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/0.7875, allocations: 16.98 kB / 0.4946 GB, free: 13.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002967/0.7905, allocations: 1.148 MB / 0.4957 GB, free: 12.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=125): time 4.789e-06/0.7905, allocations: 5.5 kB / 0.4957 GB, free: 12.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.01079/0.8013, allocations: 3.826 MB / 0.4994 GB, free: 8.293 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.8015, allocations: 106.1 kB / 0.4995 GB, free: 8.172 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008914/0.8024, allocations: 443.7 kB / 0.5 GB, free: 7.734 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003473/0.8028, allocations: 57.69 kB / 0.5 GB, free: 7.672 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.8032, allocations: 387.3 kB / 0.5004 GB, free: 7.289 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000642/0.8038, allocations: 421.9 kB / 0.5008 GB, free: 6.871 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.804, allocations: 27.98 kB / 0.5008 GB, free: 6.844 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.8042, allocations: 362.8 kB / 0.5012 GB, free: 6.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.8066, allocations: 0.9007 MB / 0.502 GB, free: 5.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.8093, allocations: 1.039 MB / 0.5031 GB, free: 4.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.8118, allocations: 0.9432 MB / 0.504 GB, free: 3.555 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.8119, allocations: 4 kB / 0.504 GB, free: 3.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01763/0.8295, allocations: 3.77 MB / 0.5077 GB, free: 15.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.8297, allocations: 61.67 kB / 0.5077 GB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.8297, allocations: 4 kB / 0.5077 GB, free: 15.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00924/0.839, allocations: 1.68 MB / 0.5094 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.8406, allocations: 167.8 kB / 0.5095 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03297/0.8736, allocations: 10.89 MB / 0.5202 GB, free: 2.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.8763, allocations: 199.9 kB / 0.5203 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003453/0.8766, allocations: 63.94 kB / 0.5204 GB, free: 2.398 MB / 458.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: 28 ($whenCondition3,$whenCondition2,$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.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 4 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {6 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005315/0.8772, allocations: 197.5 kB / 0.5206 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.8775, allocations: 75.06 kB / 0.5207 GB, free: 2.125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00547/0.883, allocations: 2.021 MB / 0.5226 GB, free: 80 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.407e-05/0.8831, allocations: 35.98 kB / 0.5227 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8832, allocations: 0 / 0.5227 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.8832, allocations: 11.94 kB / 0.5227 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.301/1.184, allocations: 3.736 MB / 0.5263 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.184, allocations: 2.156 kB / 0.5263 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02428/1.209, allocations: 2.827 MB / 0.5291 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/1.209, allocations: 37.88 kB / 0.5291 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003474/1.209, allocations: 33.89 kB / 0.5292 GB, free: 129.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/1.21, allocations: 1.467 MB / 0.5306 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.21, allocations: 5.422 kB / 0.5306 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007954/1.218, allocations: 3.433 MB / 0.534 GB, free: 128 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.22, allocations: 346.7 kB / 0.5343 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003922/1.22, allocations: 83.95 kB / 0.5344 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002755/1.223, allocations: 242.5 kB / 0.5346 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007447/1.223, allocations: 200.2 kB / 0.5348 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/1.224, allocations: 38.59 kB / 0.5348 GB, free: 127.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006437/1.224, allocations: 337.4 kB / 0.5351 GB, free: 127.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.224, allocations: 1.344 kB / 0.5351 GB, free: 127.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001998/1.226, allocations: 383 kB / 0.5355 GB, free: 127.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008665/1.235, allocations: 4.718 MB / 0.5401 GB, free: 126.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007762/1.243, allocations: 2.684 MB / 0.5427 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.243, allocations: 1.219 kB / 0.5427 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009989/1.253, allocations: 2.027 MB / 0.5447 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/1.254, allocations: 156.4 kB / 0.5449 GB, free: 125.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.265, allocations: 3.289 MB / 0.5481 GB, free: 124.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/1.266, allocations: 1.172 MB / 0.5492 GB, free: 123.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.267, allocations: 335 kB / 0.5495 GB, free: 123.1 MB / 458.7 MB Notification: Performance of SimCode: time 9.91e-07/1.267, allocations: 3.594 kB / 0.5495 GB, free: 123.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.815/5.082, allocations: 25.99 MB / 0.5749 GB, free: 117.7 MB / 458.7 MB