Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Analytical_20160808",fmuType="me",version="2.0",platforms={"static"}) Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(PhotoVoltaics_TGM): time 4.04/4.04, allocations: 451.8 MB / 464 MB, free: 8.016 MB / 378.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 4.799e-05/4.802e-05, allocations: 4.984 kB / 0.5572 GB, free: 15.37 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 103.7 MB / 0.6585 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.815/1.029, allocations: 148.4 MB / 0.8034 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/1.029, allocations: 68.44 kB / 0.8035 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1521/1.181, allocations: 36.06 MB / 0.8387 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.181, allocations: 4 kB / 0.8387 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.428e-05/1.181, allocations: 20 kB / 0.8387 GB, free: 2.801 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.005188/1.187, allocations: 1.349 MB / 0.84 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.187, allocations: 12.03 kB / 0.84 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004526/1.187, allocations: 172.5 kB / 0.8402 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/1.19, allocations: 377.9 kB / 0.8406 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/1.192, allocations: 0.5957 MB / 0.8411 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.192, allocations: 87.64 kB / 0.8412 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/1.192, allocations: 109.8 kB / 0.8413 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003124/1.196, allocations: 1.167 MB / 0.8425 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/1.196, allocations: 7.938 kB / 0.8425 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/1.196, allocations: 46.38 kB / 0.8425 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.317e-05/1.196, allocations: 24 kB / 0.8425 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/1.199, allocations: 1.069 MB / 0.8436 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/1.211, allocations: 4.803 MB / 0.8483 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.215, allocations: 1.781 MB / 0.85 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/1.216, allocations: 336.9 kB / 0.8503 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002373/1.216, allocations: 178.2 kB / 0.8505 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/1.218, allocations: 0.5341 MB / 0.851 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.968e-06/1.218, allocations: 4 kB / 0.851 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.006965/1.225, allocations: 1.163 MB / 0.8522 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/1.225, allocations: 311 kB / 0.8525 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/1.226, allocations: 0.5443 MB / 0.853 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/1.226, allocations: 47.25 kB / 0.853 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/1.227, allocations: 0.4982 MB / 0.8535 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003431/1.227, allocations: 260.1 kB / 0.8538 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-05/1.227, allocations: 22.06 kB / 0.8538 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.227, allocations: 389.3 kB / 0.8542 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/1.228, allocations: 311 kB / 0.8545 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/1.229, allocations: 0.5826 MB / 0.855 GB, free: 4.82 MB / 0.6511 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03116/1.261, allocations: 2.804 MB / 0.8578 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/1.261, allocations: 4 kB / 0.8578 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003963/1.265, allocations: 1.189 MB / 0.8589 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.249e-05/1.265, allocations: 93.12 kB / 0.859 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.265, allocations: 8 kB / 0.859 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008983/1.266, allocations: 102.8 kB / 0.8591 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/1.268, allocations: 266.7 kB / 0.8594 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/1.271, allocations: 1.578 MB / 0.8609 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.272, allocations: 110.8 kB / 0.861 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/1.273, allocations: 62.45 kB / 0.8611 GB, free: 15.13 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 3 * 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.0004789/1.273, allocations: 281.3 kB / 0.8614 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/1.273, allocations: 75.16 kB / 0.8614 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00785/1.281, allocations: 1.458 MB / 0.8629 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/1.281, allocations: 12 kB / 0.8629 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.281, allocations: 8 kB / 0.8629 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-05/1.281, allocations: 3.984 kB / 0.8629 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/1.287, allocations: 2.359 MB / 0.8652 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.287, allocations: 4 kB / 0.8652 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.289, allocations: 134.5 kB / 0.8653 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004406/1.293, allocations: 0.5416 MB / 0.8658 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/1.293, allocations: 41.73 kB / 0.8659 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/1.295, allocations: 0.8626 MB / 0.8667 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.295, allocations: 4.031 kB / 0.8667 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003929/1.299, allocations: 1.577 MB / 0.8683 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006607/1.299, allocations: 252.2 kB / 0.8685 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.3, allocations: 25.44 kB / 0.8685 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.301, allocations: 50.17 kB / 0.8686 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/1.301, allocations: 65.12 kB / 0.8686 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.301, allocations: 37.16 kB / 0.8687 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009076/1.302, allocations: 437.3 kB / 0.8691 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.21e-07/1.302, allocations: 0 / 0.8691 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001982/1.304, allocations: 394.9 kB / 0.8695 GB, free: 8.199 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 16 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 2 * 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.005392/1.31, allocations: 2.555 MB / 0.872 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003061/1.313, allocations: 1.103 MB / 0.873 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.313, allocations: 0 / 0.873 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.314, allocations: 0.6361 MB / 0.8737 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/1.316, allocations: 119 kB / 0.8738 GB, free: 4.586 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/1.323, allocations: 1.993 MB / 0.8757 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/1.324, allocations: 1.038 MB / 0.8767 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001162/1.325, allocations: 122.4 kB / 0.8769 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009207/1.326, allocations: 411.2 kB / 0.8773 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of SimCode: time 1.182e-06/1.326, allocations: 0 / 0.8773 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08118/1.408, allocations: 20.98 MB / 0.8977 GB, free: 12.17 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003447/1.408, allocations: 217.1 kB / 0.8979 GB, free: 11.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/4.855, allocations: 0 / 0.8979 GB, free: 11.95 MB / 0.698 GB