Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704",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.968/3.968, allocations: 451.8 MB / 464 MB, free: 8.039 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.824e-05/5.82e-05, allocations: 4 kB / 0.5572 GB, free: 15.38 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2109, allocations: 103.7 MB / 0.6585 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8408/1.052, allocations: 150.2 MB / 0.8051 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/1.052, allocations: 62.95 kB / 0.8052 GB, free: 10 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1493/1.201, allocations: 37.15 MB / 0.8415 GB, free: 132 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/1.201, allocations: 0 / 0.8415 GB, free: 132 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.832e-05/1.202, allocations: 20 kB / 0.8415 GB, free: 112 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.004638/1.206, allocations: 1.377 MB / 0.8429 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.206, allocations: 8.031 kB / 0.8429 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004105/1.207, allocations: 162.3 kB / 0.843 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/1.21, allocations: 376.8 kB / 0.8434 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/1.212, allocations: 0.6661 MB / 0.844 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.942e-05/1.212, allocations: 76.27 kB / 0.8441 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/1.212, allocations: 115.8 kB / 0.8442 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/1.215, allocations: 1.125 MB / 0.8453 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/1.215, allocations: 0 / 0.8453 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/1.215, allocations: 50.25 kB / 0.8454 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/1.216, allocations: 31.95 kB / 0.8454 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/1.218, allocations: 0.987 MB / 0.8463 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/1.229, allocations: 4.761 MB / 0.851 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/1.233, allocations: 1.67 MB / 0.8526 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008288/1.233, allocations: 307.7 kB / 0.8529 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/1.234, allocations: 85.55 kB / 0.853 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009611/1.235, allocations: 448.1 kB / 0.8534 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.867e-06/1.235, allocations: 4 kB / 0.8534 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.006695/1.241, allocations: 1.048 MB / 0.8545 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/1.242, allocations: 309.6 kB / 0.8548 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/1.243, allocations: 0.6565 MB / 0.8554 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/1.243, allocations: 44.08 kB / 0.8554 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/1.244, allocations: 0.5316 MB / 0.856 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00032/1.244, allocations: 220.8 kB / 0.8562 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.322e-05/1.244, allocations: 23.62 kB / 0.8562 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002152/1.244, allocations: 395.2 kB / 0.8566 GB, free: 3.168 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008132/1.245, allocations: 278.3 kB / 0.8568 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.246, allocations: 0.5638 MB / 0.8574 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/1.247, allocations: 415 kB / 0.8578 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.247, allocations: 4 kB / 0.8578 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003248/1.251, allocations: 1.076 MB / 0.8588 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/1.251, allocations: 66.41 kB / 0.8589 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/1.251, allocations: 8 kB / 0.8589 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/1.252, allocations: 104.4 kB / 0.859 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/1.254, allocations: 229.6 kB / 0.8592 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/1.256, allocations: 1.565 MB / 0.8607 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.258, allocations: 120.5 kB / 0.8609 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/1.258, allocations: 51.72 kB / 0.8609 GB, free: 15.14 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.0003676/1.258, allocations: 231.8 kB / 0.8611 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/1.258, allocations: 87.05 kB / 0.8612 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006794/1.265, allocations: 1.189 MB / 0.8624 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.265, allocations: 12 kB / 0.8624 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.265, allocations: 0 / 0.8624 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/1.265, allocations: 7.984 kB / 0.8624 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/1.27, allocations: 2.07 MB / 0.8644 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.27, allocations: 0 / 0.8644 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/1.271, allocations: 95.16 kB / 0.8645 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004364/1.275, allocations: 0.5376 MB / 0.865 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.276, allocations: 34.53 kB / 0.8651 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/1.277, allocations: 0.8573 MB / 0.8659 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.277, allocations: 0 / 0.8659 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/1.28, allocations: 1.351 MB / 0.8672 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/1.281, allocations: 246.6 kB / 0.8675 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/1.281, allocations: 26.42 kB / 0.8675 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.282, allocations: 46.34 kB / 0.8675 GB, free: 9.652 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.282, allocations: 37.83 kB / 0.8676 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-05/1.282, allocations: 34.33 kB / 0.8676 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001024/1.283, allocations: 0.4951 MB / 0.8681 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.7e-07/1.283, allocations: 0 / 0.8681 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001692/1.285, allocations: 375.4 kB / 0.8684 GB, free: 8.91 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.005627/1.291, allocations: 2.68 MB / 0.8711 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002546/1.293, allocations: 0.9328 MB / 0.872 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.293, allocations: 0 / 0.872 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/1.295, allocations: 475.9 kB / 0.8724 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.296, allocations: 146.1 kB / 0.8726 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/1.304, allocations: 1.979 MB / 0.8745 GB, free: 3.785 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007918/1.305, allocations: 1.05 MB / 0.8755 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008325/1.305, allocations: 122.4 kB / 0.8756 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008511/1.306, allocations: 399.7 kB / 0.876 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of SimCode: time 1.363e-06/1.306, allocations: 3.938 kB / 0.876 GB, free: 2.32 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07897/1.385, allocations: 20.82 MB / 0.8964 GB, free: 13.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003234/1.386, allocations: 225.1 kB / 0.8966 GB, free: 13.47 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.586, allocations: 0 / 0.8966 GB, free: 13.47 MB / 0.698 GB