Running command: translateModel(PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellTemperatureCharacteristic") Notification: Performance of loadModel(PhotoVoltaics): time 2.067/2.067, allocations: 211.3 MB / 223.4 MB, free: 3.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.332e-05, allocations: 4 kB / 277.6 MB, free: 14.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.08748, allocations: 48.76 MB / 326.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5147, allocations: 84.54 MB / 410.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.5149, allocations: 67.34 kB / 410.9 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06327/0.5782, allocations: 15.08 MB / 426 MB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.5783, allocations: 4 kB / 426 MB, free: 8.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.814e-05/0.5783, allocations: 8 kB / 426 MB, free: 8.277 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002098/0.5804, allocations: 0.8272 MB / 426.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.5805, allocations: 8.031 kB / 426.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.5807, allocations: 59.25 kB / 426.9 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008724/0.5816, allocations: 429.9 kB / 427.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.955e-05/0.5817, allocations: 31.53 kB / 427.4 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/0.5818, allocations: 37.69 kB / 427.4 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009812/0.5828, allocations: 407.5 kB / 427.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.5828, allocations: 0 / 427.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-05/0.5829, allocations: 18.8 kB / 427.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5829, allocations: 8 kB / 427.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.584, allocations: 405.5 kB / 428.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.5883, allocations: 1.803 MB / 430 MB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.5895, allocations: 0.5134 MB / 430.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.59, allocations: 173.3 kB / 430.7 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.5901, allocations: 4 kB / 430.7 MB, free: 4.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005915/0.5907, allocations: 264.3 kB / 431 MB, free: 4.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.396e-06/0.5907, allocations: 0 / 431 MB, free: 4.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.003749/0.5945, allocations: 0.6817 MB / 431.7 MB, free: 3.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5946, allocations: 136.5 kB / 431.8 MB, free: 3.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/0.5955, allocations: 410 kB / 432.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5956, allocations: 37.14 kB / 432.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.5958, allocations: 263.5 kB / 432.5 MB, free: 2.871 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.596, allocations: 100.4 kB / 432.6 MB, free: 2.785 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.5961, allocations: 3.938 kB / 432.6 MB, free: 2.785 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.5963, allocations: 362.7 kB / 432.9 MB, free: 2.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.5967, allocations: 148.4 kB / 433.1 MB, free: 2.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.5972, allocations: 218.1 kB / 433.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/0.5977, allocations: 185.3 kB / 433.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.5977, allocations: 4 kB / 433.5 MB, free: 2.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.004434/0.6021, allocations: 0.858 MB / 434.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004442/0.6026, allocations: 0.5539 MB / 434.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.87e-05/0.6027, allocations: 3.938 kB / 434.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003787/0.6065, allocations: 0.5552 MB / 435.5 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.6071, allocations: 95.61 kB / 435.6 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008453/0.6156, allocations: 3.903 MB / 439.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.6165, allocations: 87.66 kB / 439.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.6166, allocations: 23.61 kB / 439.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6166, allocations: 4 kB / 439.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004061/0.6207, allocations: 0.8041 MB / 440.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.365e-06/0.6207, allocations: 0 / 440.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/0.6239, allocations: 0.5484 MB / 440.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.6246, allocations: 91.86 kB / 441 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008215/0.6328, allocations: 3.896 MB / 444.9 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/0.6337, allocations: 86.94 kB / 445 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/0.6338, allocations: 11.98 kB / 445 MB, free: 7.422 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,triangleAndStep.integerToReal.u,$PRE.triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.T_start,$PRE.triangleAndStep.trapezoid.count,triangleAndStep.trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.634, allocations: 133 kB / 445.1 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.6341, allocations: 51.39 kB / 445.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/0.6379, allocations: 0.7317 MB / 445.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.638, allocations: 4 kB / 445.9 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.635e-06/0.638, allocations: 0 / 445.9 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.638, allocations: 0 / 445.9 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005013/0.643, allocations: 1.451 MB / 447.4 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.398e-06/0.6431, allocations: 3.938 kB / 447.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.6436, allocations: 87.52 kB / 447.5 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002673/0.6463, allocations: 473.5 kB / 447.9 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.6464, allocations: 7.172 kB / 447.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005954/0.6524, allocations: 2.274 MB / 450.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.97e-06/0.6524, allocations: 0 / 450.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/0.6562, allocations: 0.8288 MB / 451 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.6567, allocations: 175.7 kB / 451.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.6568, allocations: 11.58 kB / 451.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006827/0.6575, allocations: 75 kB / 451.3 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.6577, allocations: 38.25 kB / 451.3 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.6578, allocations: 15.23 kB / 451.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006027/0.6584, allocations: 329.3 kB / 451.7 MB, free: 1.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.6584, allocations: 0 / 451.7 MB, free: 1.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001353/0.6597, allocations: 268.5 kB / 451.9 MB, free: 1.477 MB / 362.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: 4 ($whenCondition1,triangleAndStep.integerToReal.u,triangleAndStep.trapezoid.T_start,triangleAndStep.trapezoid.count) * Number of discrete states: 1 (triangleAndStep.trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003114/0.6601, allocations: 157.9 kB / 452.1 MB, free: 1.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002677/0.6628, allocations: 1.221 MB / 453.3 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.45e-06/0.6628, allocations: 0 / 453.3 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.6635, allocations: 314.4 kB / 453.6 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.6643, allocations: 82.09 kB / 453.7 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.6659, allocations: 0.593 MB / 454.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.6665, allocations: 0.8448 MB / 455.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005619/0.6671, allocations: 75.3 kB / 455.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.6673, allocations: 31.42 kB / 455.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.735e-06/0.6673, allocations: 0 / 455.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of Templates: time 0.03161/0.6989, allocations: 14.2 MB / 469.4 MB, free: 316 kB / 378.7 MB