Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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 4.027/4.027, 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.107e-05/5.126e-05, allocations: 12.11 kB / 0.5572 GB, free: 15.41 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2066, allocations: 103.7 MB / 0.6585 GB, free: 7.879 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.803/1.01, allocations: 150.4 MB / 0.8053 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/1.01, allocations: 65.69 kB / 0.8054 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1431/1.153, allocations: 36.64 MB / 0.8412 GB, free: 304 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/1.153, allocations: 0 / 0.8412 GB, free: 304 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.328e-05/1.153, allocations: 20 kB / 0.8412 GB, free: 284 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.004644/1.158, allocations: 1.381 MB / 0.8425 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.158, allocations: 12.03 kB / 0.8425 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004423/1.158, allocations: 169.1 kB / 0.8427 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003263/1.162, allocations: 393.1 kB / 0.8431 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/1.163, allocations: 0.6596 MB / 0.8437 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/1.164, allocations: 88.41 kB / 0.8438 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/1.164, allocations: 110.6 kB / 0.8439 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/1.167, allocations: 1.175 MB / 0.8451 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/1.167, allocations: 3.938 kB / 0.8451 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/1.167, allocations: 46.31 kB / 0.8451 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.593e-05/1.167, allocations: 27.95 kB / 0.8451 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/1.171, allocations: 1.157 MB / 0.8463 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/1.183, allocations: 4.834 MB / 0.851 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/1.187, allocations: 1.78 MB / 0.8527 GB, free: 6.465 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000908/1.188, allocations: 313.7 kB / 0.853 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/1.188, allocations: 104.9 kB / 0.8531 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/1.189, allocations: 455.1 kB / 0.8536 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 3.527e-06/1.189, allocations: 0 / 0.8536 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.006865/1.196, allocations: 1.115 MB / 0.8547 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/1.196, allocations: 255.2 kB / 0.8549 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/1.198, allocations: 0.6634 MB / 0.8555 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/1.198, allocations: 44.14 kB / 0.8556 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005614/1.198, allocations: 0.5399 MB / 0.8561 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/1.199, allocations: 248.7 kB / 0.8563 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.199, allocations: 25.81 kB / 0.8564 GB, free: 3.391 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002188/1.199, allocations: 386.6 kB / 0.8567 GB, free: 3.035 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008966/1.2, allocations: 305.3 kB / 0.857 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/1.201, allocations: 0.5729 MB / 0.8576 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/1.202, allocations: 438.3 kB / 0.858 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.202, allocations: 4 kB / 0.858 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003447/1.206, allocations: 1.141 MB / 0.8591 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/1.206, allocations: 65.11 kB / 0.8592 GB, free: 1.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/1.206, allocations: 12.66 kB / 0.8592 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009025/1.207, allocations: 100.5 kB / 0.8593 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/1.208, allocations: 234.8 kB / 0.8595 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/1.211, allocations: 1.558 MB / 0.861 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/1.212, allocations: 110.9 kB / 0.8612 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/1.213, allocations: 50.47 kB / 0.8612 GB, free: 14.95 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 124 * 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.0003828/1.213, allocations: 238.2 kB / 0.8614 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/1.213, allocations: 86.92 kB / 0.8615 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00718/1.22, allocations: 1.308 MB / 0.8628 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/1.221, allocations: 8 kB / 0.8628 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.221, allocations: 0 / 0.8628 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.206e-05/1.221, allocations: 3.984 kB / 0.8628 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005393/1.226, allocations: 2.284 MB / 0.865 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/1.226, allocations: 0 / 0.865 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/1.227, allocations: 107.6 kB / 0.8651 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004371/1.231, allocations: 0.5444 MB / 0.8657 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000164/1.232, allocations: 26.84 kB / 0.8657 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.233, allocations: 0.8594 MB / 0.8665 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.233, allocations: 7.984 kB / 0.8665 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/1.236, allocations: 1.453 MB / 0.868 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006572/1.237, allocations: 263.5 kB / 0.8682 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/1.237, allocations: 28.8 kB / 0.8682 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/1.238, allocations: 40.73 kB / 0.8683 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.239, allocations: 51.89 kB / 0.8683 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.937e-05/1.239, allocations: 30.23 kB / 0.8683 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00106/1.24, allocations: 0.5032 MB / 0.8688 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/1.24, allocations: 0 / 0.8688 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001634/1.241, allocations: 387.1 kB / 0.8692 GB, free: 8.344 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: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0059/1.247, allocations: 2.73 MB / 0.8719 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002754/1.25, allocations: 0.9877 MB / 0.8728 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.25, allocations: 0 / 0.8728 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.251, allocations: 0.5084 MB / 0.8733 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.253, allocations: 147.4 kB / 0.8735 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008195/1.261, allocations: 2.046 MB / 0.8755 GB, free: 3.039 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/1.262, allocations: 1.061 MB / 0.8765 GB, free: 1.953 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008918/1.263, allocations: 130.4 kB / 0.8766 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009343/1.264, allocations: 419.3 kB / 0.877 GB, free: 1.41 MB / 0.6667 GB Notification: Performance of SimCode: time 1.323e-06/1.264, allocations: 3.938 kB / 0.877 GB, free: 1.406 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09171/1.355, allocations: 21.18 MB / 0.8977 GB, free: 12.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003342/1.356, allocations: 227.6 kB / 0.8979 GB, free: 12.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.079/4.435, allocations: 0 / 0.8979 GB, free: 12.2 MB / 0.698 GB