Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_2016") 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.855/3.855, allocations: 451.8 MB / 464 MB, free: 8.035 MB / 378.7 MB 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 6.618e-05/6.628e-05, allocations: 8 kB / 0.5596 GB, free: 12.98 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2636, allocations: 103.7 MB / 0.6608 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7057/0.9694, allocations: 148.4 MB / 0.8057 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001488/0.9696, allocations: 64.78 kB / 0.8058 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.132/1.102, allocations: 36.06 MB / 0.841 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.639e-06/1.102, allocations: 0 / 0.841 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.37e-05/1.102, allocations: 20 kB / 0.841 GB, free: 0.5938 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.004299/1.106, allocations: 1.345 MB / 0.8424 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.106, allocations: 12.03 kB / 0.8424 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/1.109, allocations: 368.2 kB / 0.8427 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/1.111, allocations: 0.6034 MB / 0.8433 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/1.111, allocations: 84.45 kB / 0.8434 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/1.111, allocations: 110.3 kB / 0.8435 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/1.114, allocations: 1.168 MB / 0.8446 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/1.114, allocations: 4 kB / 0.8446 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/1.114, allocations: 50.19 kB / 0.8447 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/1.114, allocations: 24 kB / 0.8447 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/1.117, allocations: 1.066 MB / 0.8457 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009933/1.127, allocations: 4.818 MB / 0.8505 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/1.13, allocations: 1.768 MB / 0.8522 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000839/1.131, allocations: 337.7 kB / 0.8525 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/1.131, allocations: 170.8 kB / 0.8527 GB, free: 6.699 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/1.132, allocations: 0.5396 MB / 0.8532 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 4.187e-06/1.132, allocations: 0 / 0.8532 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.004902/1.137, allocations: 1.173 MB / 0.8543 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/1.137, allocations: 310.6 kB / 0.8546 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.139, allocations: 0.5435 MB / 0.8552 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/1.139, allocations: 47 kB / 0.8552 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/1.139, allocations: 0.496 MB / 0.8557 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/1.14, allocations: 264 kB / 0.8559 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/1.14, allocations: 21.88 kB / 0.856 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002322/1.14, allocations: 386.7 kB / 0.8563 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008059/1.141, allocations: 318.2 kB / 0.8566 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.142, allocations: 0.5758 MB / 0.8572 GB, free: 2.727 MB / 0.6511 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01973/1.162, allocations: 2.802 MB / 0.8599 GB, free: 228 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/1.162, allocations: 4 kB / 0.8599 GB, free: 224 kB / 0.6511 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003265/1.165, allocations: 1.194 MB / 0.8611 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-05/1.165, allocations: 91.91 kB / 0.8612 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.165, allocations: 8 kB / 0.8612 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/1.166, allocations: 96.28 kB / 0.8613 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.167, allocations: 270.5 kB / 0.8616 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/1.17, allocations: 1.567 MB / 0.8631 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/1.171, allocations: 109.3 kB / 0.8632 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/1.171, allocations: 62.36 kB / 0.8632 GB, free: 13.05 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 3 * 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.0004315/1.172, allocations: 281.3 kB / 0.8635 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/1.172, allocations: 75.16 kB / 0.8636 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005534/1.177, allocations: 1.468 MB / 0.865 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/1.177, allocations: 8 kB / 0.865 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.758e-06/1.177, allocations: 4 kB / 0.865 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.303e-05/1.178, allocations: 3.984 kB / 0.865 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/1.183, allocations: 2.357 MB / 0.8673 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.949e-06/1.183, allocations: 0 / 0.8673 GB, free: 9.715 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/1.184, allocations: 138.9 kB / 0.8675 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002856/1.187, allocations: 0.5407 MB / 0.868 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/1.187, allocations: 43.3 kB / 0.868 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/1.188, allocations: 0.8643 MB / 0.8689 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.413e-06/1.188, allocations: 3.938 kB / 0.8689 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003596/1.192, allocations: 1.575 MB / 0.8704 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006464/1.192, allocations: 254 kB / 0.8707 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/1.193, allocations: 28.12 kB / 0.8707 GB, free: 6.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/1.193, allocations: 50.03 kB / 0.8707 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.194, allocations: 62.2 kB / 0.8708 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/1.194, allocations: 37.72 kB / 0.8708 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008545/1.195, allocations: 438.4 kB / 0.8713 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.051e-06/1.195, allocations: 0 / 0.8713 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001526/1.196, allocations: 389.3 kB / 0.8716 GB, free: 6.117 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 16 (writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger,irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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.001065/1.197, allocations: 431.3 kB / 0.872 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002516/1.2, allocations: 1.1 MB / 0.8731 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.24e-06/1.2, allocations: 4.062 kB / 0.8731 GB, free: 4.859 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.201, allocations: 0.6315 MB / 0.8737 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/1.202, allocations: 121.9 kB / 0.8738 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/1.208, allocations: 1.782 MB / 0.8756 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009112/1.209, allocations: 1.046 MB / 0.8766 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008546/1.21, allocations: 118.4 kB / 0.8767 GB, free: 1.566 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/1.21, allocations: 83.08 kB / 0.8768 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of SimCode: time 2.411e-06/1.21, allocations: 4 kB / 0.8768 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of Templates: time 0.03643/1.247, allocations: 13.07 MB / 0.8896 GB, free: 4.488 MB / 0.6823 GB