Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadModel(PowerSystems): time 2.334/2.334, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.267e-05, allocations: 4 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.09862, allocations: 53.24 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5199, allocations: 96.95 MB / 452.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5202, allocations: 87.95 kB / 452.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06478/0.585, allocations: 15.6 MB / 468.1 MB, free: 4.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.054e-06/0.5851, allocations: 4 kB / 468.1 MB, free: 4.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.581e-05/0.5851, allocations: 12 kB / 468.1 MB, free: 4.953 MB / 394.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.002654/0.5878, allocations: 1.038 MB / 469.1 MB, free: 3.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5879, allocations: 8.219 kB / 469.1 MB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/0.5882, allocations: 88.45 kB / 469.2 MB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/0.5928, allocations: 1.215 MB / 470.4 MB, free: 2.504 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006066/0.5934, allocations: 343.5 kB / 470.8 MB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.5936, allocations: 71.8 kB / 470.8 MB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.5957, allocations: 0.8902 MB / 471.7 MB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5957, allocations: 3.938 kB / 471.7 MB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.5959, allocations: 24 kB / 471.8 MB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5959, allocations: 16 kB / 471.8 MB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.5979, allocations: 0.8296 MB / 472.6 MB, free: 248 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006954/0.6049, allocations: 3.247 MB / 475.8 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.6063, allocations: 0.5423 MB / 476.4 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009499/0.6072, allocations: 402.9 kB / 476.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.005e-05/0.6073, allocations: 8.438 kB / 476.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.6084, allocations: 488.8 kB / 477.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 4.342e-06/0.6085, allocations: 4.562 kB / 477.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001721/0.6102, allocations: 0.6637 MB / 477.9 MB, free: 10.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.6103, allocations: 140.5 kB / 478.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.6109, allocations: 339.1 kB / 478.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.27e-05/0.6111, allocations: 37.7 kB / 478.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.6114, allocations: 292.3 kB / 478.7 MB, free: 9.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.6116, allocations: 170.9 kB / 478.9 MB, free: 9.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.6117, allocations: 12 kB / 478.9 MB, free: 9.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.6119, allocations: 362.9 kB / 479.3 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/0.6127, allocations: 329.2 kB / 479.6 MB, free: 9.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008397/0.6136, allocations: 437.3 kB / 480 MB, free: 8.594 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.6143, allocations: 348.8 kB / 480.4 MB, free: 8.246 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.173e-06/0.6144, allocations: 0 / 480.4 MB, free: 8.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00197/0.6163, allocations: 0.8357 MB / 481.2 MB, free: 7.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.6164, allocations: 57.67 kB / 481.2 MB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6165, allocations: 7.984 kB / 481.3 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.6165, allocations: 4.375 kB / 481.3 MB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007571/0.6241, allocations: 1.596 MB / 482.9 MB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.6311, allocations: 4.075 MB / 486.9 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/0.6322, allocations: 132.8 kB / 487.1 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.6323, allocations: 39.97 kB / 487.1 MB, free: 1.223 MB / 410.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.0002649/0.6326, allocations: 146.5 kB / 487.2 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6327, allocations: 47.44 kB / 487.3 MB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.6345, allocations: 0.7155 MB / 488 MB, free: 304 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.6345, allocations: 8 kB / 488 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.159e-06/0.6345, allocations: 0 / 488 MB, free: 296 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6345, allocations: 7.922 kB / 488 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.6383, allocations: 1.87 MB / 489.9 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.816e-06/0.6384, allocations: 0 / 489.9 MB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009133/0.6475, allocations: 1.83 MB / 491.7 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/0.6476, allocations: 7.984 kB / 491.7 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.6477, allocations: 19.94 kB / 491.7 MB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.971e-05/0.6477, allocations: 11.92 kB / 491.8 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6478, allocations: 1.406 kB / 491.8 MB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002761/0.6505, allocations: 1.356 MB / 493.1 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.651, allocations: 200.5 kB / 493.3 MB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.6512, allocations: 31.98 kB / 493.3 MB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008923/0.6521, allocations: 123.9 kB / 493.5 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/0.6524, allocations: 91.8 kB / 493.5 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/0.6525, allocations: 19.98 kB / 493.6 MB, free: 10.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004318/0.6529, allocations: 265.2 kB / 493.8 MB, free: 10.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.6529, allocations: 0 / 493.8 MB, free: 10.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009029/0.6538, allocations: 191.5 kB / 494 MB, free: 10.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0002953/0.6542, allocations: 143.1 kB / 494.2 MB, free: 9.953 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007462/0.6616, allocations: 2.054 MB / 496.2 MB, free: 7.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.6617, allocations: 4.312 kB / 496.2 MB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003886/0.6656, allocations: 1.004 MB / 497.2 MB, free: 6.875 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009084/0.6665, allocations: 115.5 kB / 497.3 MB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.6703, allocations: 1.292 MB / 498.6 MB, free: 5.422 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/0.6711, allocations: 0.945 MB / 499.6 MB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008218/0.672, allocations: 148.6 kB / 499.7 MB, free: 4.305 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.6722, allocations: 47.42 kB / 499.8 MB, free: 4.258 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.6723, allocations: 0 / 499.8 MB, free: 4.258 MB / 426.7 MB Notification: Performance of Templates: time 0.02043/0.6927, allocations: 7.905 MB / 0.4958 GB, free: 12.39 MB / 442.7 MB