Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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 4.053/4.053, 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.656e-05/4.675e-05, allocations: 8 kB / 0.5572 GB, free: 15.36 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 103.7 MB / 0.6585 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7994/1.002, allocations: 150.4 MB / 0.8053 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/1.003, allocations: 69.78 kB / 0.8054 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1427/1.145, allocations: 36.63 MB / 0.8412 GB, free: 372 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.145, allocations: 0 / 0.8412 GB, free: 372 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.121e-05/1.146, allocations: 27.92 kB / 0.8412 GB, free: 344 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.004342/1.15, allocations: 1.374 MB / 0.8425 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/1.15, allocations: 8.031 kB / 0.8425 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003303/1.15, allocations: 173.9 kB / 0.8427 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003156/1.153, allocations: 384.9 kB / 0.8431 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/1.155, allocations: 0.6614 MB / 0.8437 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.777e-05/1.155, allocations: 88.22 kB / 0.8438 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/1.155, allocations: 110.2 kB / 0.8439 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/1.159, allocations: 1.181 MB / 0.8451 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/1.159, allocations: 3.938 kB / 0.8451 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/1.159, allocations: 46.44 kB / 0.8451 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/1.159, allocations: 31.95 kB / 0.8451 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00323/1.162, allocations: 1.146 MB / 0.8463 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/1.173, allocations: 4.838 MB / 0.851 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/1.177, allocations: 1.79 MB / 0.8527 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008091/1.178, allocations: 315.8 kB / 0.853 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/1.178, allocations: 93.64 kB / 0.8531 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000971/1.179, allocations: 458.1 kB / 0.8536 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 3.236e-06/1.179, allocations: 0 / 0.8536 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.006826/1.186, allocations: 1.119 MB / 0.8546 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/1.186, allocations: 259.3 kB / 0.8549 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.187, allocations: 0.6592 MB / 0.8555 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/1.187, allocations: 43.89 kB / 0.8556 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/1.188, allocations: 0.5403 MB / 0.8561 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/1.188, allocations: 248.8 kB / 0.8563 GB, free: 3.457 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/1.188, allocations: 18.38 kB / 0.8564 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002337/1.189, allocations: 390.9 kB / 0.8567 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008362/1.189, allocations: 302 kB / 0.857 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/1.191, allocations: 0.5738 MB / 0.8576 GB, free: 2.363 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.192, allocations: 439.5 kB / 0.858 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/1.192, allocations: 4 kB / 0.858 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00337/1.195, allocations: 1.144 MB / 0.8591 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.935e-05/1.195, allocations: 67.39 kB / 0.8592 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/1.195, allocations: 11.94 kB / 0.8592 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/1.196, allocations: 96.31 kB / 0.8593 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.198, allocations: 235.3 kB / 0.8595 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/1.2, allocations: 1.565 MB / 0.861 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.202, allocations: 107.8 kB / 0.8611 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.202, allocations: 51.94 kB / 0.8612 GB, free: 15 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.0003556/1.202, allocations: 238.8 kB / 0.8614 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.202, allocations: 90.92 kB / 0.8615 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007122/1.209, allocations: 1.301 MB / 0.8628 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.209, allocations: 8.047 kB / 0.8628 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.209, allocations: 7.984 kB / 0.8628 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/1.21, allocations: 7.984 kB / 0.8628 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/1.215, allocations: 2.269 MB / 0.865 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.215, allocations: 4.031 kB / 0.865 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008689/1.216, allocations: 107.5 kB / 0.8651 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004419/1.22, allocations: 0.5409 MB / 0.8657 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/1.22, allocations: 29.59 kB / 0.8657 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/1.221, allocations: 0.8659 MB / 0.8665 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.222, allocations: 3.953 kB / 0.8665 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/1.225, allocations: 1.462 MB / 0.868 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/1.226, allocations: 264 kB / 0.8682 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/1.226, allocations: 28.48 kB / 0.8682 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009492/1.227, allocations: 42.73 kB / 0.8683 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.227, allocations: 40.53 kB / 0.8683 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-05/1.227, allocations: 38.84 kB / 0.8684 GB, free: 9.09 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001025/1.228, allocations: 0.5036 MB / 0.8688 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.2e-07/1.228, allocations: 4 kB / 0.8688 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001541/1.23, allocations: 384 kB / 0.8692 GB, free: 8.391 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.005568/1.235, allocations: 2.726 MB / 0.8719 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002547/1.238, allocations: 0.9871 MB / 0.8728 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.238, allocations: 4.125 kB / 0.8728 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.239, allocations: 0.5068 MB / 0.8733 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/1.24, allocations: 137.9 kB / 0.8735 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007601/1.248, allocations: 2.05 MB / 0.8755 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/1.249, allocations: 1.057 MB / 0.8765 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008084/1.25, allocations: 126.4 kB / 0.8766 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008531/1.25, allocations: 415.3 kB / 0.877 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of SimCode: time 9.01e-07/1.25, allocations: 3.938 kB / 0.877 GB, free: 1.371 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0749/1.325, allocations: 21.19 MB / 0.8977 GB, free: 12.38 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/1.326, allocations: 219.6 kB / 0.8979 GB, free: 12.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/4.527, allocations: 0 / 0.8979 GB, free: 12.16 MB / 0.698 GB