Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629",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.966/3.966, allocations: 451.8 MB / 464 MB, free: 8.023 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 5.155e-05/5.163e-05, allocations: 7.984 kB / 0.5572 GB, free: 15.37 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2136, allocations: 103.7 MB / 0.6585 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.807/1.021, allocations: 150.2 MB / 0.8051 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/1.021, allocations: 64.12 kB / 0.8052 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1428/1.164, allocations: 37.15 MB / 0.8415 GB, free: 472 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.654e-06/1.164, allocations: 0 / 0.8415 GB, free: 472 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.664e-05/1.164, allocations: 20 kB / 0.8415 GB, free: 452 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.004574/1.169, allocations: 1.375 MB / 0.8428 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.169, allocations: 8.031 kB / 0.8428 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000373/1.169, allocations: 169.9 kB / 0.843 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/1.172, allocations: 377.2 kB / 0.8434 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/1.174, allocations: 0.6649 MB / 0.844 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/1.174, allocations: 78.7 kB / 0.8441 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/1.175, allocations: 105.6 kB / 0.8442 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/1.178, allocations: 1.13 MB / 0.8453 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.599e-05/1.178, allocations: 4 kB / 0.8453 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000176/1.178, allocations: 43.56 kB / 0.8453 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/1.178, allocations: 27.95 kB / 0.8454 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/1.181, allocations: 0.9967 MB / 0.8463 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/1.193, allocations: 4.764 MB / 0.851 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/1.196, allocations: 1.672 MB / 0.8526 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009069/1.197, allocations: 302.8 kB / 0.8529 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/1.197, allocations: 89.53 kB / 0.853 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/1.198, allocations: 439 kB / 0.8534 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.787e-06/1.198, allocations: 4 kB / 0.8534 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.006927/1.205, allocations: 1.059 MB / 0.8545 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/1.205, allocations: 302.6 kB / 0.8547 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/1.207, allocations: 0.663 MB / 0.8554 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/1.207, allocations: 39.83 kB / 0.8554 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/1.207, allocations: 0.5334 MB / 0.856 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/1.208, allocations: 225.5 kB / 0.8562 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.954e-05/1.208, allocations: 21.25 kB / 0.8562 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002049/1.208, allocations: 391.1 kB / 0.8566 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007817/1.209, allocations: 276.7 kB / 0.8568 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/1.21, allocations: 0.5624 MB / 0.8574 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/1.211, allocations: 414.8 kB / 0.8578 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/1.211, allocations: 4 kB / 0.8578 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003269/1.214, allocations: 1.082 MB / 0.8588 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/1.214, allocations: 63.41 kB / 0.8589 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/1.214, allocations: 8 kB / 0.8589 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009174/1.215, allocations: 108.2 kB / 0.859 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/1.217, allocations: 227 kB / 0.8592 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/1.219, allocations: 1.555 MB / 0.8607 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.221, allocations: 120.4 kB / 0.8609 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.221, allocations: 50.84 kB / 0.8609 GB, free: 15.48 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.0003799/1.222, allocations: 244.7 kB / 0.8611 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/1.222, allocations: 83.06 kB / 0.8612 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007252/1.229, allocations: 1.195 MB / 0.8624 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/1.229, allocations: 4 kB / 0.8624 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.229, allocations: 4 kB / 0.8624 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/1.229, allocations: 7.984 kB / 0.8624 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/1.234, allocations: 2.069 MB / 0.8644 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.234, allocations: 32 / 0.8644 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/1.235, allocations: 99.22 kB / 0.8645 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004371/1.239, allocations: 0.542 MB / 0.865 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/1.239, allocations: 19.17 kB / 0.8651 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.241, allocations: 0.8684 MB / 0.8659 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.241, allocations: 0 / 0.8659 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/1.244, allocations: 1.343 MB / 0.8672 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/1.245, allocations: 251.3 kB / 0.8675 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/1.245, allocations: 22.3 kB / 0.8675 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000967/1.246, allocations: 42.92 kB / 0.8675 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/1.246, allocations: 44.12 kB / 0.8676 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/1.246, allocations: 30.78 kB / 0.8676 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001045/1.247, allocations: 0.4964 MB / 0.8681 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.31e-07/1.247, allocations: 0 / 0.8681 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001701/1.249, allocations: 379.8 kB / 0.8684 GB, free: 9.238 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.005522/1.255, allocations: 2.685 MB / 0.8711 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002529/1.257, allocations: 0.93 MB / 0.872 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.257, allocations: 0 / 0.872 GB, free: 6.309 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.258, allocations: 475.1 kB / 0.8724 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.26, allocations: 143.8 kB / 0.8726 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007798/1.267, allocations: 1.986 MB / 0.8745 GB, free: 4.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/1.268, allocations: 1.045 MB / 0.8755 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008362/1.269, allocations: 118.5 kB / 0.8756 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008184/1.27, allocations: 399.3 kB / 0.876 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of SimCode: time 1.032e-06/1.27, allocations: 0 / 0.876 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09313/1.363, allocations: 20.81 MB / 0.8963 GB, free: 13.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/1.364, allocations: 224 kB / 0.8966 GB, free: 13.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.197/4.56, allocations: 0 / 0.8966 GB, free: 13.59 MB / 0.698 GB