Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.064/2.064, allocations: 211.3 MB / 223.4 MB, free: 3.629 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.933e-05, allocations: 4 kB / 277.7 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 48.77 MB / 326.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5614, allocations: 91.96 MB / 418.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5617, allocations: 70.03 kB / 418.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1331/0.6948, allocations: 30.28 MB / 448.7 MB, free: 4.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6949, allocations: 0 / 448.7 MB, free: 4.188 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.875e-05/0.695, allocations: 24 kB / 448.8 MB, free: 4.164 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.004362/0.6994, allocations: 1.172 MB / 449.9 MB, free: 3.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.6994, allocations: 8.031 kB / 449.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005411/0.7, allocations: 149.2 kB / 450.1 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.7034, allocations: 358.8 kB / 450.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.705, allocations: 0.5426 MB / 451 MB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.7052, allocations: 77.12 kB / 451.1 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.7055, allocations: 93.88 kB / 451.2 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.7085, allocations: 1.002 MB / 452.2 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/0.7086, allocations: 4 kB / 452.2 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.7087, allocations: 36.88 kB / 452.2 MB, free: 1.363 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.7088, allocations: 28 kB / 452.2 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.712, allocations: 0.9217 MB / 453.1 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.7235, allocations: 4.305 MB / 457.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.7265, allocations: 1.529 MB / 459 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/0.7273, allocations: 243.7 kB / 459.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.7275, allocations: 93.09 kB / 459.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008114/0.7283, allocations: 319.7 kB / 459.6 MB, free: 10.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 3.606e-06/0.7283, allocations: 3.938 kB / 459.6 MB, free: 10.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.006375/0.7347, allocations: 0.8543 MB / 460.5 MB, free: 9.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.7349, allocations: 170.6 kB / 460.6 MB, free: 9.773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7362, allocations: 0.5083 MB / 461.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.7363, allocations: 33.7 kB / 461.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/0.7369, allocations: 485.9 kB / 461.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.7372, allocations: 177.5 kB / 461.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.7373, allocations: 16 kB / 461.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.7375, allocations: 366.8 kB / 462.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007605/0.7383, allocations: 238 kB / 462.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008945/0.7392, allocations: 469.6 kB / 462.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.7402, allocations: 336.8 kB / 463.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.7402, allocations: 0 / 463.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003119/0.7433, allocations: 0.8838 MB / 464.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.7435, allocations: 43.73 kB / 464.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.7435, allocations: 4 kB / 464.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009232/0.7444, allocations: 92.78 kB / 464.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.7462, allocations: 207.7 kB / 464.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/0.7488, allocations: 1.554 MB / 466 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.7502, allocations: 103.1 kB / 466.1 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.7504, allocations: 43.97 kB / 466.1 MB, free: 3.957 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.0003177/0.7507, allocations: 199.3 kB / 466.3 MB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.7509, allocations: 63.2 kB / 466.4 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006393/0.7573, allocations: 0.9524 MB / 467.4 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.7574, allocations: 4 kB / 467.4 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7574, allocations: 0 / 467.4 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.198e-05/0.7574, allocations: 7.984 kB / 467.4 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.7621, allocations: 1.742 MB / 469.1 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.7621, allocations: 0 / 469.1 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006963/0.7628, allocations: 79.89 kB / 469.2 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004578/0.7674, allocations: 0.5449 MB / 469.7 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.7676, allocations: 23.97 kB / 469.8 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.7692, allocations: 0.8551 MB / 470.6 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.7693, allocations: 3.953 kB / 470.6 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.7719, allocations: 1.046 MB / 471.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.7726, allocations: 200.1 kB / 471.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.7728, allocations: 12 kB / 471.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.7737, allocations: 48.03 kB / 471.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.7738, allocations: 23.97 kB / 471.9 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/0.7739, allocations: 23.97 kB / 472 MB, free: 13.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008388/0.7747, allocations: 381.6 kB / 472.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7748, allocations: 4 kB / 472.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001419/0.7762, allocations: 275 kB / 472.6 MB, free: 13.29 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.003399/0.7796, allocations: 1.801 MB / 474.4 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.782, allocations: 0.7446 MB / 475.2 MB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.782, allocations: 4.188 kB / 475.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.783, allocations: 335.6 kB / 475.5 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009917/0.7841, allocations: 90.11 kB / 475.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006987/0.7911, allocations: 1.581 MB / 477.2 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/0.7919, allocations: 0.9733 MB / 478.1 MB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007163/0.7926, allocations: 81.03 kB / 478.2 MB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007291/0.7934, allocations: 303.3 kB / 478.5 MB, free: 7.238 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7935, allocations: 0 / 478.5 MB, free: 7.238 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05783/0.8513, allocations: 15.53 MB / 494 MB, free: 7.785 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.8516, allocations: 175 kB / 494.2 MB, free: 7.551 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.059/3.911, allocations: 0 / 494.2 MB, free: 7.551 MB / 410.7 MB