Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_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 3.941/3.941, allocations: 451.8 MB / 464 MB, free: 8.012 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.666e-05/4.669e-05, allocations: 4 kB / 0.5572 GB, free: 15.38 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2506, allocations: 103.7 MB / 0.6585 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8145/1.065, allocations: 150.4 MB / 0.8053 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/1.065, allocations: 65.66 kB / 0.8054 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1448/1.21, allocations: 36.64 MB / 0.8412 GB, free: 256 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.083e-06/1.21, allocations: 0 / 0.8412 GB, free: 256 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.354e-05/1.21, allocations: 24 kB / 0.8412 GB, free: 232 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.004472/1.215, allocations: 1.373 MB / 0.8425 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.215, allocations: 8.031 kB / 0.8425 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003878/1.215, allocations: 173.9 kB / 0.8427 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003212/1.219, allocations: 386.5 kB / 0.8431 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/1.22, allocations: 0.6624 MB / 0.8437 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/1.22, allocations: 79.47 kB / 0.8438 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/1.221, allocations: 124.1 kB / 0.8439 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/1.224, allocations: 1.166 MB / 0.845 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/1.224, allocations: 3.938 kB / 0.8451 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.224, allocations: 49.5 kB / 0.8451 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/1.224, allocations: 31.95 kB / 0.8451 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/1.227, allocations: 1.154 MB / 0.8463 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/1.239, allocations: 4.836 MB / 0.851 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/1.242, allocations: 1.787 MB / 0.8527 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/1.243, allocations: 324.7 kB / 0.853 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/1.243, allocations: 85.67 kB / 0.8531 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009861/1.244, allocations: 459.4 kB / 0.8536 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 3.356e-06/1.244, allocations: 3.938 kB / 0.8536 GB, free: 5.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.006798/1.251, allocations: 1.121 MB / 0.8547 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/1.251, allocations: 255.6 kB / 0.8549 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/1.253, allocations: 0.6597 MB / 0.8555 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001774/1.253, allocations: 48.28 kB / 0.8556 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005591/1.254, allocations: 0.5453 MB / 0.8561 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003429/1.254, allocations: 240.5 kB / 0.8563 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/1.254, allocations: 22.44 kB / 0.8564 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002374/1.254, allocations: 391.8 kB / 0.8567 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008625/1.255, allocations: 303.5 kB / 0.857 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.256, allocations: 0.5698 MB / 0.8576 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.257, allocations: 442.1 kB / 0.858 GB, free: 1.938 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/1.257, allocations: 4 kB / 0.858 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003534/1.261, allocations: 1.139 MB / 0.8591 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/1.261, allocations: 69.28 kB / 0.8592 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/1.261, allocations: 8 kB / 0.8592 GB, free: 0.957 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/1.262, allocations: 96.64 kB / 0.8593 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/1.264, allocations: 237.7 kB / 0.8595 GB, free: 0.6406 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/1.266, allocations: 1.56 MB / 0.861 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.268, allocations: 109.1 kB / 0.8611 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/1.268, allocations: 47.61 kB / 0.8612 GB, free: 14.9 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.0004005/1.268, allocations: 240 kB / 0.8614 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/1.269, allocations: 95.02 kB / 0.8615 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007203/1.276, allocations: 1.301 MB / 0.8628 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/1.276, allocations: 8 kB / 0.8628 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.276, allocations: 4 kB / 0.8628 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.11e-05/1.276, allocations: 7.984 kB / 0.8628 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00591/1.282, allocations: 2.275 MB / 0.865 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/1.282, allocations: 4 kB / 0.865 GB, free: 11.78 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008787/1.283, allocations: 107 kB / 0.8651 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004529/1.288, allocations: 0.541 MB / 0.8657 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/1.288, allocations: 29.66 kB / 0.8657 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/1.289, allocations: 0.8609 MB / 0.8665 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.289, allocations: 8.016 kB / 0.8665 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004332/1.294, allocations: 1.448 MB / 0.8679 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/1.294, allocations: 272.2 kB / 0.8682 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/1.295, allocations: 23.56 kB / 0.8682 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009933/1.296, allocations: 42.91 kB / 0.8683 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.296, allocations: 50.8 kB / 0.8683 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.296, allocations: 35.09 kB / 0.8684 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001259/1.297, allocations: 0.5028 MB / 0.8688 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.22e-07/1.297, allocations: 0 / 0.8688 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001791/1.299, allocations: 386.6 kB / 0.8692 GB, free: 8.289 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.006033/1.305, allocations: 2.72 MB / 0.8719 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002814/1.308, allocations: 0.9946 MB / 0.8728 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.308, allocations: 0 / 0.8728 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/1.309, allocations: 0.5053 MB / 0.8733 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/1.311, allocations: 139.8 kB / 0.8735 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/1.32, allocations: 2.052 MB / 0.8755 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/1.32, allocations: 1.057 MB / 0.8765 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009324/1.321, allocations: 122.4 kB / 0.8766 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009724/1.322, allocations: 423.2 kB / 0.877 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of SimCode: time 1.253e-06/1.322, allocations: 3.938 kB / 0.877 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09832/1.421, allocations: 21.19 MB / 0.8977 GB, free: 12.37 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/1.421, allocations: 229.8 kB / 0.8979 GB, free: 12.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/4.526, allocations: 0 / 0.8979 GB, free: 12.14 MB / 0.698 GB