Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_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 4.007/4.007, allocations: 451.8 MB / 464 MB, free: 8 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.576e-05/4.568e-05, allocations: 8.844 kB / 0.5572 GB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2086, allocations: 103.7 MB / 0.6585 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8386/1.047, allocations: 150.2 MB / 0.8051 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/1.047, allocations: 65.66 kB / 0.8052 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1467/1.194, allocations: 37.16 MB / 0.8415 GB, free: 312 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.194, allocations: 0 / 0.8415 GB, free: 312 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.407e-05/1.194, allocations: 24 kB / 0.8415 GB, free: 288 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.00431/1.199, allocations: 1.369 MB / 0.8428 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.199, allocations: 12.03 kB / 0.8429 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003035/1.199, allocations: 161.4 kB / 0.843 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/1.202, allocations: 380.7 kB / 0.8434 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/1.204, allocations: 0.6659 MB / 0.844 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.114e-05/1.204, allocations: 79.95 kB / 0.8441 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/1.204, allocations: 110.4 kB / 0.8442 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/1.207, allocations: 1.124 MB / 0.8453 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.962e-05/1.207, allocations: 4 kB / 0.8453 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/1.207, allocations: 46.94 kB / 0.8453 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/1.207, allocations: 27.95 kB / 0.8454 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/1.21, allocations: 0.9918 MB / 0.8463 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/1.22, allocations: 4.759 MB / 0.851 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/1.224, allocations: 1.685 MB / 0.8526 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/1.224, allocations: 294.1 kB / 0.8529 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/1.225, allocations: 96.59 kB / 0.853 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009185/1.225, allocations: 441.6 kB / 0.8534 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=67): time 3.387e-06/1.225, allocations: 0 / 0.8534 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=67): time 0.006722/1.232, allocations: 1.067 MB / 0.8545 GB, free: 5.188 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/1.232, allocations: 298.4 kB / 0.8548 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/1.234, allocations: 0.6615 MB / 0.8554 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/1.234, allocations: 40.27 kB / 0.8554 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005381/1.235, allocations: 0.5322 MB / 0.856 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/1.235, allocations: 225.4 kB / 0.8562 GB, free: 3.695 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/1.235, allocations: 18.81 kB / 0.8562 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.235, allocations: 394.8 kB / 0.8566 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007948/1.236, allocations: 281.2 kB / 0.8568 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.237, allocations: 0.5605 MB / 0.8574 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/1.238, allocations: 414.7 kB / 0.8578 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/1.238, allocations: 3.938 kB / 0.8578 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003296/1.241, allocations: 1.078 MB / 0.8588 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/1.242, allocations: 63.41 kB / 0.8589 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.242, allocations: 8.594 kB / 0.8589 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009099/1.243, allocations: 108 kB / 0.859 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.244, allocations: 230.2 kB / 0.8592 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/1.247, allocations: 1.56 MB / 0.8608 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.248, allocations: 116.4 kB / 0.8609 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/1.249, allocations: 50.66 kB / 0.8609 GB, free: 15.31 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.0005643/1.249, allocations: 235.4 kB / 0.8611 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/1.25, allocations: 83.06 kB / 0.8612 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.261, allocations: 1.195 MB / 0.8624 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/1.262, allocations: 8 kB / 0.8624 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.262, allocations: 0 / 0.8624 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/1.262, allocations: 0 / 0.8624 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006151/1.268, allocations: 2.083 MB / 0.8644 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.268, allocations: 0 / 0.8644 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/1.269, allocations: 86.86 kB / 0.8645 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004426/1.273, allocations: 0.5459 MB / 0.865 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/1.273, allocations: 23.34 kB / 0.8651 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/1.275, allocations: 0.8603 MB / 0.8659 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.275, allocations: 4.031 kB / 0.8659 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/1.278, allocations: 1.345 MB / 0.8672 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/1.278, allocations: 245.3 kB / 0.8675 GB, free: 9.879 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/1.279, allocations: 21.44 kB / 0.8675 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009749/1.28, allocations: 48.09 kB / 0.8675 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/1.28, allocations: 39.25 kB / 0.8676 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/1.28, allocations: 32.47 kB / 0.8676 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001049/1.281, allocations: 0.4941 MB / 0.8681 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.281, allocations: 0 / 0.8681 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001631/1.283, allocations: 382.4 kB / 0.8684 GB, free: 9.082 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.005391/1.288, allocations: 2.689 MB / 0.8711 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002523/1.291, allocations: 0.928 MB / 0.872 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.291, allocations: 0 / 0.872 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.292, allocations: 485.5 kB / 0.8724 GB, free: 5.781 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/1.293, allocations: 137.8 kB / 0.8726 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007738/1.301, allocations: 1.984 MB / 0.8745 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/1.302, allocations: 1.049 MB / 0.8755 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008577/1.303, allocations: 114.5 kB / 0.8756 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008278/1.303, allocations: 407.3 kB / 0.876 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of SimCode: time 1.342e-06/1.303, allocations: 0 / 0.876 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09977/1.403, allocations: 20.81 MB / 0.8963 GB, free: 13.73 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/1.404, allocations: 221 kB / 0.8966 GB, free: 13.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/4.455, allocations: 0 / 0.8966 GB, free: 13.51 MB / 0.698 GB