Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMultiPhase,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PhotoVoltaics): time 2.119/2.119, allocations: 211.3 MB / 223.4 MB, free: 3.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.718e-05, allocations: 4 kB / 275.2 MB, free: 0.5781 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 48.75 MB / 323.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5703, allocations: 93.63 MB / 417.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5706, allocations: 67.47 kB / 417.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2155/0.7861, allocations: 38.63 MB / 456.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7862, allocations: 0 / 456.3 MB, free: 13.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002376/0.7864, allocations: 55.94 kB / 456.3 MB, free: 13.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.008332/0.7948, allocations: 2.141 MB / 458.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.7948, allocations: 8.031 kB / 458.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001026/0.7959, allocations: 300.4 kB / 458.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.797, allocations: 261 kB / 459 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004699/0.8017, allocations: 1.368 MB / 460.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.802, allocations: 152.4 kB / 460.5 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009566/0.803, allocations: 210.1 kB / 460.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008574/0.8116, allocations: 2.55 MB / 463.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-05/0.8117, allocations: 0 / 463.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003635/0.8121, allocations: 88 kB / 463.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.8123, allocations: 80.05 kB / 463.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006719/0.819, allocations: 2.003 MB / 465.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02322/0.8423, allocations: 8.102 MB / 473.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002927/0.8452, allocations: 1.164 MB / 474.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.8466, allocations: 486.3 kB / 475.2 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.383e-05/0.8467, allocations: 12.55 kB / 475.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.848, allocations: 0.5461 MB / 475.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 3.406e-06/0.848, allocations: 0 / 475.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=71): time 0.003134/0.8512, allocations: 1.039 MB / 476.8 MB, free: 9.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.8513, allocations: 170.8 kB / 477 MB, free: 9.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/0.8539, allocations: 0.9658 MB / 477.9 MB, free: 8.398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002495/0.8542, allocations: 41.7 kB / 478 MB, free: 8.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.8555, allocations: 0.965 MB / 478.9 MB, free: 7.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000458/0.856, allocations: 248.5 kB / 479.2 MB, free: 7.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.8561, allocations: 24 kB / 479.2 MB, free: 7.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.8563, allocations: 346 kB / 479.5 MB, free: 6.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8575, allocations: 429.8 kB / 480 MB, free: 6.336 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.859, allocations: 0.6913 MB / 480.6 MB, free: 5.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.8605, allocations: 0.5503 MB / 481.2 MB, free: 4.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.8606, allocations: 7.984 kB / 481.2 MB, free: 4.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004348/0.8649, allocations: 1.348 MB / 482.5 MB, free: 3.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001707/0.8667, allocations: 3.425 MB / 486 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.039e-05/0.8668, allocations: 8 kB / 486 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.8678, allocations: 104.7 kB / 486.1 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.8702, allocations: 267.6 kB / 486.3 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.8728, allocations: 1.558 MB / 487.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.8749, allocations: 154.9 kB / 488.1 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.8751, allocations: 52.08 kB / 488.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8751, allocations: 5.719 kB / 488.1 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003786/0.8789, allocations: 1.228 MB / 489.3 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.879, allocations: 12.03 kB / 489.3 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008865/0.8799, allocations: 96.73 kB / 489.4 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002185/0.8821, allocations: 271.5 kB / 489.7 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.8845, allocations: 1.554 MB / 491.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.8863, allocations: 131.2 kB / 491.4 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.8866, allocations: 48.08 kB / 491.4 MB, free: 10.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integratorOmega.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * 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: 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.0004273/0.887, allocations: 214.1 kB / 491.6 MB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.8873, allocations: 114.6 kB / 491.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.8907, allocations: 1.184 MB / 492.9 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.8907, allocations: 12 kB / 493 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8908, allocations: 0 / 493 MB, free: 8.586 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.8908, allocations: 3.984 kB / 493 MB, free: 8.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.9033, allocations: 3.336 MB / 496.3 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.9034, allocations: 4 kB / 496.3 MB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.9048, allocations: 151.8 kB / 496.4 MB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004539/0.9094, allocations: 0.5449 MB / 497 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/0.9096, allocations: 23.97 kB / 497 MB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.9111, allocations: 0.8546 MB / 497.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.9111, allocations: 4.062 kB / 497.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00451/0.9156, allocations: 1.779 MB / 499.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009062/0.9166, allocations: 295.5 kB / 499.9 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.9169, allocations: 20 kB / 500 MB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.9183, allocations: 79.92 kB / 0.4883 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.9185, allocations: 60.42 kB / 0.4884 GB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.753e-05/0.9186, allocations: 23.97 kB / 0.4884 GB, free: 1.246 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001797/0.9204, allocations: 0.75 MB / 0.4891 GB, free: 496 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.9204, allocations: 4 kB / 0.4891 GB, free: 492 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.003299/0.9237, allocations: 0.878 MB / 0.49 GB, free: 15.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * 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: 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.005263/0.9291, allocations: 2.462 MB / 0.4924 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005599/0.9347, allocations: 1.989 MB / 0.4943 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.9348, allocations: 4.125 kB / 0.4943 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.9364, allocations: 0.5561 MB / 0.4949 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002338/0.9387, allocations: 240.5 kB / 0.4951 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/0.9494, allocations: 3.158 MB / 0.4982 GB, free: 7.027 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.9517, allocations: 1.755 MB / 0.4999 GB, free: 5.242 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002857/0.9546, allocations: 0.5038 MB / 0.5004 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/0.9563, allocations: 0.6867 MB / 0.5011 GB, free: 4.047 MB / 426.7 MB Notification: Performance of SimCode: time 1.974e-06/0.9564, allocations: 0 / 0.5011 GB, free: 4.047 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4072/1.364, allocations: 29.91 MB / 0.5303 GB, free: 115.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/1.364, allocations: 171.6 kB / 0.5304 GB, free: 115.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.547/4.911, allocations: 5.406 kB / 0.5305 GB, free: 115.2 MB / 426.7 MB