Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004",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 3.957/3.957, 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.701e-05/4.71e-05, allocations: 4 kB / 0.5572 GB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2086, allocations: 103.7 MB / 0.6585 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8626/1.071, allocations: 150.2 MB / 0.8051 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/1.071, allocations: 63.22 kB / 0.8052 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1454/1.217, allocations: 37.15 MB / 0.8415 GB, free: 348 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/1.217, allocations: 4 kB / 0.8415 GB, free: 344 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.356e-05/1.217, allocations: 20 kB / 0.8415 GB, free: 324 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004406/1.221, allocations: 1.368 MB / 0.8428 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/1.222, allocations: 12.03 kB / 0.8428 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003666/1.222, allocations: 169.3 kB / 0.843 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/1.225, allocations: 370.9 kB / 0.8434 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.227, allocations: 0.6707 MB / 0.844 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.015e-05/1.227, allocations: 79.27 kB / 0.8441 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/1.227, allocations: 115.8 kB / 0.8442 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/1.23, allocations: 1.125 MB / 0.8453 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/1.23, allocations: 0 / 0.8453 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/1.23, allocations: 49.8 kB / 0.8453 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/1.23, allocations: 27.95 kB / 0.8454 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002803/1.233, allocations: 0.9895 MB / 0.8463 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/1.244, allocations: 4.767 MB / 0.851 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/1.247, allocations: 1.672 MB / 0.8526 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007781/1.248, allocations: 296.4 kB / 0.8529 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/1.248, allocations: 96.59 kB / 0.853 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009259/1.249, allocations: 446.7 kB / 0.8534 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.537e-06/1.249, allocations: 0 / 0.8534 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.006614/1.256, allocations: 1.067 MB / 0.8545 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/1.256, allocations: 299 kB / 0.8548 GB, free: 4.863 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.257, allocations: 0.6553 MB / 0.8554 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/1.257, allocations: 39.52 kB / 0.8554 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/1.258, allocations: 0.5377 MB / 0.856 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/1.258, allocations: 225.1 kB / 0.8562 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-05/1.258, allocations: 20.81 kB / 0.8562 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.259, allocations: 393.9 kB / 0.8566 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/1.259, allocations: 277.1 kB / 0.8568 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009953/1.26, allocations: 0.5572 MB / 0.8574 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/1.261, allocations: 423.1 kB / 0.8578 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.261, allocations: 0 / 0.8578 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003174/1.265, allocations: 1.08 MB / 0.8588 GB, free: 1.492 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.753e-05/1.265, allocations: 65.56 kB / 0.8589 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/1.265, allocations: 8 kB / 0.8589 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000911/1.266, allocations: 100.7 kB / 0.859 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/1.267, allocations: 231.4 kB / 0.8592 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/1.27, allocations: 1.566 MB / 0.8608 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/1.271, allocations: 112.9 kB / 0.8609 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.271, allocations: 51.09 kB / 0.8609 GB, free: 15.35 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 2 * 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.0003592/1.272, allocations: 238.8 kB / 0.8611 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/1.272, allocations: 83.06 kB / 0.8612 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006738/1.279, allocations: 1.187 MB / 0.8624 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.279, allocations: 8 kB / 0.8624 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.279, allocations: 0 / 0.8624 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/1.279, allocations: 3.984 kB / 0.8624 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/1.284, allocations: 2.08 MB / 0.8644 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/1.284, allocations: 0 / 0.8644 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007284/1.284, allocations: 87.42 kB / 0.8645 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004354/1.289, allocations: 0.5496 MB / 0.865 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/1.289, allocations: 33.34 kB / 0.8651 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/1.29, allocations: 0.854 MB / 0.8659 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.29, allocations: 4.031 kB / 0.8659 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003214/1.293, allocations: 1.344 MB / 0.8672 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/1.294, allocations: 254.8 kB / 0.8675 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/1.294, allocations: 22.44 kB / 0.8675 GB, free: 9.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009647/1.295, allocations: 45.03 kB / 0.8675 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.295, allocations: 45.92 kB / 0.8676 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.272e-05/1.296, allocations: 28.78 kB / 0.8676 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001024/1.297, allocations: 0.4993 MB / 0.8681 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.51e-07/1.297, allocations: 0 / 0.8681 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001587/1.298, allocations: 368.5 kB / 0.8684 GB, free: 9.113 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.00534/1.304, allocations: 2.681 MB / 0.8711 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002438/1.306, allocations: 0.9358 MB / 0.872 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.306, allocations: 0 / 0.872 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.307, allocations: 478 kB / 0.8724 GB, free: 5.816 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.308, allocations: 145.6 kB / 0.8726 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007557/1.316, allocations: 1.976 MB / 0.8745 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/1.317, allocations: 1.045 MB / 0.8755 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008282/1.318, allocations: 122.4 kB / 0.8756 GB, free: 2.734 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/1.319, allocations: 399.3 kB / 0.876 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of SimCode: time 1.072e-06/1.319, allocations: 4 kB / 0.876 GB, free: 2.34 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07197/1.391, allocations: 20.83 MB / 0.8964 GB, free: 13.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/1.391, allocations: 243.2 kB / 0.8966 GB, free: 13.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/4.425, allocations: 3.75 kB / 0.8966 GB, free: 13.38 MB / 0.698 GB