Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP") Notification: Performance of loadModel(PhotoVoltaics): time 1.913/1.913, allocations: 211.3 MB / 223.4 MB, free: 3.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.641e-05, allocations: 6.656 kB / 277.6 MB, free: 14.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 48.76 MB / 326.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4249/0.526, allocations: 91.94 MB / 418.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.5263, allocations: 73.97 kB / 418.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1141/0.6404, allocations: 30.28 MB / 448.6 MB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.241e-06/0.6405, allocations: 4 kB / 448.6 MB, free: 4.652 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.483e-05/0.6405, allocations: 20 kB / 448.6 MB, free: 4.633 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003436/0.644, allocations: 1.163 MB / 449.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.644, allocations: 12.22 kB / 449.8 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002941/0.647, allocations: 349.3 kB / 450.2 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.6484, allocations: 0.5466 MB / 450.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.621e-05/0.6485, allocations: 76.69 kB / 450.8 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.6487, allocations: 99.53 kB / 450.9 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.6512, allocations: 1.001 MB / 451.9 MB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.6512, allocations: 3.938 kB / 451.9 MB, free: 1.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.6514, allocations: 46.44 kB / 451.9 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.6514, allocations: 24 kB / 452 MB, free: 1.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.6539, allocations: 0.9189 MB / 452.9 MB, free: 1.324 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009279/0.6632, allocations: 4.303 MB / 457.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.6656, allocations: 1.535 MB / 458.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006447/0.6663, allocations: 246.9 kB / 458.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.6665, allocations: 85.11 kB / 459 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006803/0.6672, allocations: 319.8 kB / 459.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 4.065e-06/0.6672, allocations: 4 kB / 459.3 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.004225/0.6714, allocations: 0.8581 MB / 460.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.6716, allocations: 174.7 kB / 460.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.6727, allocations: 0.5005 MB / 460.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/0.6728, allocations: 33.7 kB / 460.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.6733, allocations: 485.9 kB / 461.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.6735, allocations: 177.6 kB / 461.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.6736, allocations: 16 kB / 461.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.6739, allocations: 366.8 kB / 461.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.6745, allocations: 238 kB / 462.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008376/0.6754, allocations: 465.6 kB / 462.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008061/0.6762, allocations: 340.8 kB / 463 MB, free: 7.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.915e-06/0.6762, allocations: 0 / 463 MB, free: 7.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00254/0.6788, allocations: 0.8878 MB / 463.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/0.6789, allocations: 44 kB / 463.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.6789, allocations: 4 kB / 463.9 MB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.6795, allocations: 92.78 kB / 464 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6807, allocations: 203.7 kB / 464.2 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.683, allocations: 1.558 MB / 465.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6841, allocations: 103.1 kB / 465.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.6843, allocations: 43.98 kB / 465.9 MB, free: 4.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000299/0.6846, allocations: 195.2 kB / 466.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.6848, allocations: 63.2 kB / 466.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004418/0.6892, allocations: 0.9564 MB / 467.1 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.6893, allocations: 7.938 kB / 467.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6893, allocations: 0 / 467.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.6893, allocations: 4 kB / 467.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.6933, allocations: 1.742 MB / 468.8 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.743e-06/0.6933, allocations: 0 / 468.8 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004999/0.6938, allocations: 75.89 kB / 468.9 MB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002874/0.6967, allocations: 0.5416 MB / 469.5 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.6968, allocations: 15.98 kB / 469.5 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.6982, allocations: 0.8663 MB / 470.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.789e-06/0.6983, allocations: 3.984 kB / 470.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.7007, allocations: 1.038 MB / 471.4 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.7012, allocations: 212.1 kB / 471.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.7013, allocations: 12 kB / 471.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.702, allocations: 44.03 kB / 471.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.7021, allocations: 27.95 kB / 471.7 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.7022, allocations: 19.98 kB / 471.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007569/0.703, allocations: 381.6 kB / 472.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.703, allocations: 0 / 472.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001208/0.7042, allocations: 283 kB / 472.3 MB, free: 13.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004011/0.7046, allocations: 191.8 kB / 472.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.7066, allocations: 0.747 MB / 473.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.079e-06/0.7067, allocations: 0 / 473.3 MB, free: 12.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008161/0.7075, allocations: 343.2 kB / 473.6 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/0.7083, allocations: 91.81 kB / 473.7 MB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.7137, allocations: 1.439 MB / 475.1 MB, free: 10.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007945/0.7146, allocations: 0.9655 MB / 476.1 MB, free: 9.785 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005894/0.7152, allocations: 85.03 kB / 476.2 MB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.7154, allocations: 55.41 kB / 476.2 MB, free: 9.645 MB / 394.7 MB Notification: Performance of SimCode: time 1.826e-06/0.7154, allocations: 0 / 476.2 MB, free: 9.645 MB / 394.7 MB Notification: Performance of Templates: time 0.02584/0.7413, allocations: 9.257 MB / 485.5 MB, free: 428 kB / 394.7 MB