Running command: translateModel(PhotoVoltaics.Examples.SimpleCellVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource") Notification: Performance of loadModel(PhotoVoltaics): time 1.962/1.962, allocations: 211.3 MB / 223.4 MB, free: 3.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.519e-05, allocations: 0 / 277.6 MB, free: 14.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08868, allocations: 48.76 MB / 326.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.5737, allocations: 81.82 MB / 408.1 MB, free: 7.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003705/0.5742, allocations: 67.72 kB / 408.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0861/0.6603, allocations: 11.67 MB / 419.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.968e-06/0.6603, allocations: 0 / 419.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.47e-05/0.6604, allocations: 4 kB / 419.9 MB, free: 13.87 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001328/0.6617, allocations: 0.6178 MB / 420.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.6618, allocations: 8.031 kB / 420.5 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.6619, allocations: 43.44 kB / 420.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.6625, allocations: 331.3 kB / 420.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.6625, allocations: 15.44 kB / 420.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.6626, allocations: 22.75 kB / 420.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.6632, allocations: 287.5 kB / 421.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.6632, allocations: 0 / 421.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.6633, allocations: 7.312 kB / 421.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.6633, allocations: 4 kB / 421.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.6641, allocations: 290.2 kB / 421.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.667, allocations: 1.428 MB / 422.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.6675, allocations: 177.7 kB / 423.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.6678, allocations: 110.6 kB / 423.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.6679, allocations: 4 kB / 423.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.6679, allocations: 33.62 kB / 423.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.917e-06/0.6679, allocations: 0 / 423.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005603/0.6685, allocations: 192.2 kB / 423.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.6686, allocations: 55.41 kB / 423.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/0.6692, allocations: 368.8 kB / 423.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.6692, allocations: 27.64 kB / 423.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.6694, allocations: 206.6 kB / 424.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.976e-05/0.6695, allocations: 34.72 kB / 424.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.6695, allocations: 7.375 kB / 424.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.6697, allocations: 339.9 kB / 424.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.67, allocations: 103.9 kB / 424.5 MB, free: 9.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.6703, allocations: 134.1 kB / 424.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.6706, allocations: 110.1 kB / 424.8 MB, free: 9.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-06/0.6706, allocations: 0 / 424.8 MB, free: 9.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001176/0.6718, allocations: 373 kB / 425.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6719, allocations: 8 kB / 425.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6719, allocations: 0 / 425.2 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.6725, allocations: 92.05 kB / 425.2 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.673, allocations: 79.55 kB / 425.3 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.6752, allocations: 1.536 MB / 426.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.6757, allocations: 46.75 kB / 426.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.6758, allocations: 11.92 kB / 426.9 MB, free: 7.629 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001425/0.6759, allocations: 118.3 kB / 427 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.549e-05/0.676, allocations: 31.62 kB / 427.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.6761, allocations: 41.42 kB / 427.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-06/0.6762, allocations: 0 / 427.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.011e-06/0.6762, allocations: 0 / 427.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.6762, allocations: 4 kB / 427.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.6775, allocations: 0.6735 MB / 427.8 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.308e-06/0.6775, allocations: 4 kB / 427.8 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.6778, allocations: 55.91 kB / 427.8 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.664e-06/0.6779, allocations: 0 / 427.8 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.6779, allocations: 7.672 kB / 427.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-06/0.6779, allocations: 0 / 427.8 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.398e-06/0.6779, allocations: 4 kB / 427.9 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.6785, allocations: 308 kB / 428.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.6787, allocations: 137.6 kB / 428.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.6788, allocations: 7.922 kB / 428.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.6791, allocations: 23.73 kB / 428.3 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.6792, allocations: 11.94 kB / 428.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.6792, allocations: 7.984 kB / 428.3 MB, free: 6.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004496/0.6797, allocations: 291.2 kB / 428.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.77e-07/0.6797, allocations: 4 kB / 428.6 MB, free: 6.137 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005316/0.6803, allocations: 86.91 kB / 428.7 MB, free: 6.055 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002371/0.6805, allocations: 142.1 kB / 428.8 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008284/0.6814, allocations: 341.8 kB / 429.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.049e-06/0.6814, allocations: 0 / 429.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.6816, allocations: 72.59 kB / 429.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.6821, allocations: 68.31 kB / 429.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.6832, allocations: 379.4 kB / 429.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.6836, allocations: 0.7797 MB / 430.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.6839, allocations: 26.97 kB / 430.5 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.684, allocations: 31.41 kB / 430.5 MB, free: 4.328 MB / 346.7 MB Notification: Performance of SimCode: time 8.029e-06/0.6841, allocations: 4 kB / 430.5 MB, free: 4.324 MB / 346.7 MB Notification: Performance of Templates: time 0.01237/0.6964, allocations: 4.574 MB / 435.1 MB, free: 15.8 MB / 362.7 MB