Running command: translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") Notification: Performance of loadModel(PhotoVoltaics): time 1.961/1.961, allocations: 211.3 MB / 223.4 MB, free: 3.641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.724e-05, allocations: 11.92 kB / 275.1 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08506/0.08512, allocations: 48.75 MB / 323.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.4662, allocations: 85.67 MB / 409.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4665, allocations: 67.78 kB / 409.6 MB, free: 6.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06366/0.5302, allocations: 18.39 MB / 428 MB, free: 7.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.757e-06/0.5302, allocations: 0 / 428 MB, free: 7.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.5303, allocations: 12 kB / 428 MB, free: 7.328 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002126/0.5324, allocations: 0.8187 MB / 428.8 MB, free: 6.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.5325, allocations: 8.031 kB / 428.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.5352, allocations: 311 kB / 429.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006995/0.5359, allocations: 365.6 kB / 429.5 MB, free: 5.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.68e-05/0.536, allocations: 52.69 kB / 429.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.5362, allocations: 69.75 kB / 429.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.5378, allocations: 0.7125 MB / 430.3 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.5379, allocations: 0 / 430.3 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-05/0.538, allocations: 30.88 kB / 430.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.538, allocations: 16 kB / 430.3 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.5395, allocations: 0.6018 MB / 430.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005834/0.5454, allocations: 3.077 MB / 434 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.5469, allocations: 0.9638 MB / 435 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.5472, allocations: 120.1 kB / 435.1 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.5473, allocations: 93.25 kB / 435.2 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.5474, allocations: 42.23 kB / 435.2 MB, free: 1.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.333e-06/0.5474, allocations: 0 / 435.2 MB, free: 1.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006411/0.548, allocations: 239 kB / 435.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.5481, allocations: 81.14 kB / 435.5 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.5486, allocations: 293.5 kB / 435.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.5486, allocations: 29.39 kB / 435.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.5489, allocations: 345 kB / 436.2 MB, free: 264 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.549, allocations: 95.14 kB / 436.3 MB, free: 180 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.5491, allocations: 12.25 kB / 436.3 MB, free: 176 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.5493, allocations: 340 kB / 436.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.5496, allocations: 145.4 kB / 436.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.5501, allocations: 290.4 kB / 437.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.5505, allocations: 175.3 kB / 437.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.523e-06/0.5505, allocations: 4 kB / 437.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001052/0.5515, allocations: 463.1 kB / 437.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.5516, allocations: 11.95 kB / 437.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5516, allocations: 7.984 kB / 437.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.5517, allocations: 12 kB / 437.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.5523, allocations: 126.9 kB / 437.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.5523, allocations: 15.94 kB / 437.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.5528, allocations: 69.64 kB / 437.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.5529, allocations: 19.44 kB / 437.9 MB, free: 14.74 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(start = 0.0 unit = "rad" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002211/0.5532, allocations: 134.6 kB / 438.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5533, allocations: 27.72 kB / 438.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007014/0.554, allocations: 290.8 kB / 438.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.554, allocations: 7.984 kB / 438.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.812e-06/0.554, allocations: 0 / 438.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.5541, allocations: 0 / 438.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.556, allocations: 0.8961 MB / 439.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.556, allocations: 0 / 439.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.5564, allocations: 63.66 kB / 439.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.314e-06/0.5564, allocations: 0 / 439.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.5565, allocations: 7.562 kB / 439.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.804e-06/0.5565, allocations: 0 / 439.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/0.5565, allocations: 3.984 kB / 439.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008803/0.5574, allocations: 0.526 MB / 439.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.5576, allocations: 116.6 kB / 440 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.754e-05/0.5577, allocations: 7.75 kB / 440 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.558, allocations: 15.81 kB / 440 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.5581, allocations: 19.72 kB / 440.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.5582, allocations: 11.69 kB / 440.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003347/0.5585, allocations: 217.2 kB / 440.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.5585, allocations: 4 kB / 440.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000823/0.5594, allocations: 154.8 kB / 440.4 MB, free: 12.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.000299/0.5597, allocations: 166.7 kB / 440.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007216/0.5604, allocations: 301.6 kB / 440.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.721e-06/0.5604, allocations: 0 / 440.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.5607, allocations: 102.7 kB / 441 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.5611, allocations: 28.28 kB / 441 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.5648, allocations: 0.9862 MB / 442 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.5655, allocations: 0.846 MB / 442.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003509/0.5658, allocations: 55.25 kB / 442.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.566, allocations: 31.42 kB / 442.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.678e-06/0.566, allocations: 3.938 kB / 442.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.01183/0.5778, allocations: 3.407 MB / 446.3 MB, free: 6.969 MB / 362.7 MB