Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellIrradianceCharacteristic,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellIrradianceCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.228/2.228, allocations: 211.3 MB / 223.4 MB, free: 3.637 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.827e-05, allocations: 4 kB / 277.7 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 48.76 MB / 326.4 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5612, allocations: 84.42 MB / 410.8 MB, free: 4.973 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5615, allocations: 73.22 kB / 410.9 MB, free: 4.938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07206/0.6335, allocations: 14.39 MB / 425.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6336, allocations: 0 / 425.3 MB, free: 8.539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.772e-05/0.6337, allocations: 8 kB / 425.3 MB, free: 8.531 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.003028/0.6367, allocations: 0.8193 MB / 426.1 MB, free: 7.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.6368, allocations: 8.031 kB / 426.1 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.6369, allocations: 70.28 kB / 426.2 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.6372, allocations: 59.25 kB / 426.3 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.6381, allocations: 423.1 kB / 426.7 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.6382, allocations: 23.41 kB / 426.7 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6383, allocations: 34.69 kB / 426.7 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.6394, allocations: 406.4 kB / 427.1 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.6394, allocations: 3.938 kB / 427.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.6395, allocations: 14.62 kB / 427.1 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.6395, allocations: 12 kB / 427.2 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/0.6407, allocations: 386.3 kB / 427.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006729/0.6475, allocations: 1.809 MB / 429.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.6496, allocations: 0.5201 MB / 429.9 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006635/0.6503, allocations: 157.1 kB / 430 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.6504, allocations: 4.234 kB / 430 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008326/0.6513, allocations: 243.2 kB / 430.3 MB, free: 4.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 4.108e-06/0.6513, allocations: 0 / 430.3 MB, free: 4.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.008165/0.6595, allocations: 0.6484 MB / 430.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.6596, allocations: 132.5 kB / 431 MB, free: 3.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.661, allocations: 438.6 kB / 431.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.6611, allocations: 36.77 kB / 431.5 MB, free: 3.324 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.6615, allocations: 263 kB / 431.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.6617, allocations: 87.53 kB / 431.8 MB, free: 3.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.6617, allocations: 7.125 kB / 431.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.662, allocations: 361 kB / 432.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.6627, allocations: 155.6 kB / 432.4 MB, free: 2.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/0.6634, allocations: 212.4 kB / 432.6 MB, free: 2.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.6641, allocations: 186.8 kB / 432.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.6641, allocations: 3.938 kB / 432.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.008914/0.6731, allocations: 0.8519 MB / 433.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003467/0.6735, allocations: 490.7 kB / 434.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6735, allocations: 0 / 434.1 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006749/0.6803, allocations: 0.5556 MB / 434.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.6814, allocations: 93.98 kB / 434.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/0.6967, allocations: 3.91 MB / 438.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.6985, allocations: 99.41 kB / 438.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.6986, allocations: 19.67 kB / 438.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6987, allocations: 4 kB / 438.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00865/0.7073, allocations: 0.7925 MB / 439.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.7074, allocations: 0 / 439.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00554/0.713, allocations: 0.5467 MB / 440.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/0.7138, allocations: 87.81 kB / 440.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/0.7251, allocations: 3.898 MB / 444.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.7263, allocations: 86.56 kB / 444.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.7264, allocations: 15.42 kB / 444.2 MB, free: 7.797 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (37): * Single equations (assignments): 34 * 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.0002427/0.7267, allocations: 123 kB / 444.3 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.7268, allocations: 51.38 kB / 444.4 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.727, allocations: 51 kB / 444.4 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.727, allocations: 7.953 kB / 444.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7271, allocations: 0 / 444.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.7271, allocations: 4 kB / 444.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00676/0.7338, allocations: 1.377 MB / 445.8 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.7339, allocations: 0 / 445.8 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006921/0.7346, allocations: 75.86 kB / 445.9 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004291/0.7389, allocations: 467.8 kB / 446.3 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.7391, allocations: 15.84 kB / 446.3 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008425/0.7475, allocations: 2.292 MB / 448.6 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.7476, allocations: 8 kB / 448.6 MB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005765/0.7533, allocations: 0.7732 MB / 449.4 MB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.7539, allocations: 178.8 kB / 449.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.7541, allocations: 3.812 kB / 449.6 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009819/0.7551, allocations: 67.88 kB / 449.7 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.7553, allocations: 39.44 kB / 449.7 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.7553, allocations: 11.98 kB / 449.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000696/0.756, allocations: 344.1 kB / 450 MB, free: 2.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.756, allocations: 0 / 450 MB, free: 2.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0015/0.7576, allocations: 266.9 kB / 450.3 MB, free: 2.488 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 (24): * Single equations (assignments): 21 * 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.00627/0.7638, allocations: 1.435 MB / 451.7 MB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003187/0.7671, allocations: 1.19 MB / 452.9 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.7671, allocations: 4.062 kB / 452.9 MB, free: 108 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007909/0.7679, allocations: 290 kB / 453.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009461/0.7689, allocations: 87.94 kB / 453.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.7713, allocations: 0.6483 MB / 453.9 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.7719, allocations: 0.8439 MB / 454.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000652/0.7726, allocations: 71.3 kB / 454.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.7729, allocations: 153.5 kB / 455 MB, free: 14.24 MB / 378.7 MB Notification: Performance of SimCode: time 1.031e-06/0.773, allocations: 0 / 455 MB, free: 14.24 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06461/0.8376, allocations: 18.34 MB / 473.4 MB, free: 12 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/0.838, allocations: 200.3 kB / 473.5 MB, free: 11.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/4.068, allocations: 0 / 473.5 MB, free: 11.76 MB / 394.7 MB