Running command: translateModel(PhotoVoltaics.Examples.SolarPyramidBatteryCharge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SolarPyramidBatteryCharge") Notification: Performance of loadModel(PhotoVoltaics): time 1.924/1.924, allocations: 211.3 MB / 223.4 MB, free: 3.555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.357e-05, allocations: 4 kB / 275.1 MB, free: 0.6875 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08407/0.08413, allocations: 48.76 MB / 323.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3674/0.4516, allocations: 89.83 MB / 413.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.4518, allocations: 66.34 kB / 413.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2747/0.7265, allocations: 70.22 MB / 484 MB, free: 2.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.7266, allocations: 0 / 484 MB, free: 2.988 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00024/0.7268, allocations: 60 kB / 484 MB, free: 2.93 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: 702 * Number of variables: 702 Notification: Performance of Generate backend data structure: time 0.009227/0.7361, allocations: 2.761 MB / 486.8 MB, free: 88 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.7361, allocations: 12.03 kB / 486.8 MB, free: 76 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.7377, allocations: 336.1 kB / 487.1 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/0.7424, allocations: 1.647 MB / 488.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.7427, allocations: 209.4 kB / 489 MB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009146/0.7436, allocations: 275.9 kB / 489.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008904/0.7525, allocations: 2.951 MB / 492.2 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-05/0.7527, allocations: 11.72 kB / 492.2 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/0.7531, allocations: 112 kB / 492.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.999e-05/0.7532, allocations: 64 kB / 492.4 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00874/0.7619, allocations: 2.634 MB / 495 MB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03078/0.7928, allocations: 13.02 MB / 0.4961 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005884/0.7987, allocations: 3.591 MB / 0.4996 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.8012, allocations: 0.9529 MB / 0.5005 GB, free: 5.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.42e-05/0.8013, allocations: 16.98 kB / 0.5006 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002195/0.8035, allocations: 0.9087 MB / 0.5015 GB, free: 4.375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=138): time 8.082e-06/0.8035, allocations: 3.984 kB / 0.5015 GB, free: 4.371 MB / 426.7 MB Notification: Performance of matching and sorting (n=138): time 0.01384/0.8174, allocations: 2.989 MB / 0.5044 GB, free: 1.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002389/0.8177, allocations: 302.3 kB / 0.5047 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.237/1.055, allocations: 1.73 MB / 0.5064 GB, free: 106.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003856/1.055, allocations: 58.42 kB / 0.5064 GB, free: 106.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/1.057, allocations: 1.234 MB / 0.5076 GB, free: 105.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006697/1.057, allocations: 453.2 kB / 0.508 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/1.058, allocations: 37.12 kB / 0.5081 GB, free: 105.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/1.058, allocations: 374.2 kB / 0.5084 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/1.06, allocations: 0.7411 MB / 0.5092 GB, free: 105.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002377/1.062, allocations: 1.125 MB / 0.5103 GB, free: 105 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/1.065, allocations: 0.996 MB / 0.5112 GB, free: 104.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/1.065, allocations: 3.219 kB / 0.5112 GB, free: 104.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=238) (initialization): time 0.007857/1.073, allocations: 2.58 MB / 0.5138 GB, free: 104.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.592e-05/1.073, allocations: 125.9 kB / 0.5139 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/1.073, allocations: 11.38 kB / 0.5139 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/1.075, allocations: 359.6 kB / 0.5142 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003191/1.078, allocations: 484.3 kB / 0.5147 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007095/1.086, allocations: 6.398 MB / 0.5209 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.089, allocations: 261 kB / 0.5212 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005709/1.089, allocations: 101.2 kB / 0.5213 GB, free: 98.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.signv,$PRE.solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter4.mpTracker.counter,solarPyramid.dcConverter4.mpTracker.counter,$PRE.solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.signv,$PRE.solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter3.mpTracker.counter,solarPyramid.dcConverter3.mpTracker.counter,$PRE.solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.signv,$PRE.solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter2.mpTracker.counter,solarPyramid.dcConverter2.mpTracker.counter,$PRE.solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.signv,$PRE.solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.firstTrigger,$PRE.solarPyramid.dcConverter1.mpTracker.counter,solarPyramid.dcConverter1.mpTracker.counter,$whenCondition4,solarPyramid.dcConverter4.mpTracker.sampleTrigger,$whenCondition3,solarPyramid.dcConverter3.mpTracker.sampleTrigger,$whenCondition2,solarPyramid.dcConverter2.mpTracker.sampleTrigger,$whenCondition1,solarPyramid.dcConverter1.mpTracker.sampleTrigger,$PRE.solarPyramid.dcConverter1.mpTracker.vRef,solarPyramid.dcConverter1.mpTracker.vRef,$PRE.solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.vRef,$PRE.solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.vRef,$PRE.solarPyramid.dcConverter4.mpTracker.vRef,solarPyramid.dcConverter4.mpTracker.vRef,solarPyramid.dcConverter4.converter.integrator.local_reset,solarPyramid.dcConverter3.converter.integrator.local_reset,solarPyramid.dcConverter2.converter.integrator.local_reset,solarPyramid.dcConverter1.converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {2,2,2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007486/1.09, allocations: 387.5 kB / 0.5217 GB, free: 98.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006847/1.091, allocations: 210.8 kB / 0.5219 GB, free: 98.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/1.105, allocations: 3.332 MB / 0.5251 GB, free: 98.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/1.105, allocations: 19.48 kB / 0.5251 GB, free: 98.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.199e-06/1.105, allocations: 0 / 0.5251 GB, free: 98.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.568e-05/1.105, allocations: 8.891 kB / 0.5251 GB, free: 98.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02182/1.127, allocations: 6.452 MB / 0.5314 GB, free: 97.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.127, allocations: 0 / 0.5314 GB, free: 97.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.128, allocations: 174.3 kB / 0.5316 GB, free: 97.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01202/1.14, allocations: 2.54 MB / 0.5341 GB, free: 97.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003845/1.141, allocations: 57.5 kB / 0.5341 GB, free: 97.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00512/1.146, allocations: 3.76 MB / 0.5378 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.959e-06/1.146, allocations: 7.297 kB / 0.5378 GB, free: 95.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/1.162, allocations: 4.287 MB / 0.542 GB, free: 94.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.164, allocations: 0.6275 MB / 0.5426 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007332/1.165, allocations: 53.7 kB / 0.5427 GB, free: 94.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/1.167, allocations: 129.2 kB / 0.5428 GB, free: 94.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/1.167, allocations: 80.16 kB / 0.5429 GB, free: 94.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/1.167, allocations: 65.2 kB / 0.5429 GB, free: 94.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002987/1.17, allocations: 1.32 MB / 0.5442 GB, free: 93.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.169e-06/1.17, allocations: 0 / 0.5442 GB, free: 93.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00316/1.173, allocations: 0.709 MB / 0.5449 GB, free: 93.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solarPyramid.dcConverter1.converter.integrator.y,solarPyramid.dcConverter2.converter.integrator.y,solarPyramid.dcConverter3.converter.integrator.y,solarPyramid.dcConverter4.converter.integrator.y) * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.sampleTrigger,solarPyramid.dcConverter1.mpTracker.counter,solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.sampleTrigger,solarPyramid.dcConverter2.mpTracker.counter,solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.sampleTrigger,solarPyramid.dcConverter3.mpTracker.counter,solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.sampleTrigger,solarPyramid.dcConverter4.mpTracker.counter,solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.vRef) * Number of discrete states: 28 (solarPyramid.dcConverter3.mpTracker.signv,solarPyramid.dcConverter3.mpTracker.vRef,solarPyramid.dcConverter3.mpTracker.firstTrigger,solarPyramid.dcConverter3.mpTracker.counter,$whenCondition3,solarPyramid.dcConverter3.mpTracker.sampleTrigger,solarPyramid.dcConverter3.mpTracker.power,solarPyramid.dcConverter2.mpTracker.signv,solarPyramid.dcConverter2.mpTracker.vRef,solarPyramid.dcConverter2.mpTracker.firstTrigger,solarPyramid.dcConverter2.mpTracker.counter,$whenCondition2,solarPyramid.dcConverter2.mpTracker.sampleTrigger,solarPyramid.dcConverter2.mpTracker.power,solarPyramid.dcConverter1.mpTracker.signv,solarPyramid.dcConverter1.mpTracker.vRef,solarPyramid.dcConverter1.mpTracker.firstTrigger,solarPyramid.dcConverter1.mpTracker.counter,$whenCondition1,solarPyramid.dcConverter1.mpTracker.sampleTrigger,solarPyramid.dcConverter1.mpTracker.power,solarPyramid.dcConverter4.mpTracker.signv,solarPyramid.dcConverter4.mpTracker.vRef,solarPyramid.dcConverter4.mpTracker.firstTrigger,solarPyramid.dcConverter4.mpTracker.counter,$whenCondition4,solarPyramid.dcConverter4.mpTracker.sampleTrigger,solarPyramid.dcConverter4.mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 97 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006615/1.174, allocations: 237.7 kB / 0.5451 GB, free: 93.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005348/1.18, allocations: 2.463 MB / 0.5475 GB, free: 91.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.18, allocations: 0 / 0.5475 GB, free: 91.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002622/1.182, allocations: 1.202 MB / 0.5487 GB, free: 91.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/1.185, allocations: 350 kB / 0.5491 GB, free: 91.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/1.193, allocations: 3.079 MB / 0.5521 GB, free: 89.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.194, allocations: 1.611 MB / 0.5536 GB, free: 89.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001558/1.196, allocations: 226.3 kB / 0.5538 GB, free: 88.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/1.197, allocations: 160.2 kB / 0.554 GB, free: 88.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.075e-06/1.197, allocations: 2.062 kB / 0.554 GB, free: 88.96 MB / 426.7 MB Notification: Performance of Templates: time 0.07028/1.267, allocations: 32.34 MB / 0.5856 GB, free: 76.35 MB / 426.7 MB