Running command: "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical1,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.307/2.307, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.771e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4006, allocations: 60.24 MB / 391.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.5584, allocations: 86.23 MB / 477.4 MB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5588, allocations: 75.95 kB / 477.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.5727, allocations: 3.087 MB / 480.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5727, allocations: 0 / 480.5 MB, free: 11.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.5728, allocations: 0 / 480.5 MB, free: 11.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007087/0.5735, allocations: 438.1 kB / 480.9 MB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5735, allocations: 12.03 kB / 481 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.5736, allocations: 42.55 kB / 481 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.033e-05/0.5737, allocations: 27.67 kB / 481 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.5741, allocations: 243.8 kB / 481.3 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.5742, allocations: 7.938 kB / 481.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.5742, allocations: 15.98 kB / 481.3 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.5745, allocations: 127.2 kB / 481.4 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5746, allocations: 7.984 kB / 481.4 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.5746, allocations: 8 kB / 481.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5746, allocations: 0 / 481.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.5748, allocations: 67.94 kB / 481.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.5759, allocations: 0.5452 MB / 482 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.5762, allocations: 90.53 kB / 482.1 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.5763, allocations: 44.89 kB / 482.2 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.5763, allocations: 4 kB / 482.2 MB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.5764, allocations: 30.78 kB / 482.2 MB, free: 9.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.5764, allocations: 7.938 kB / 482.2 MB, free: 9.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000925/0.5773, allocations: 409.5 kB / 482.6 MB, free: 9.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.5774, allocations: 51.41 kB / 482.7 MB, free: 8.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.5777, allocations: 186.1 kB / 482.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.5777, allocations: 25.7 kB / 482.9 MB, free: 8.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.5778, allocations: 127.9 kB / 483 MB, free: 8.609 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.5779, allocations: 51.3 kB / 483 MB, free: 8.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.5779, allocations: 0 / 483 MB, free: 8.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.578, allocations: 338.8 kB / 483.4 MB, free: 8.219 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-05/0.5781, allocations: 28 kB / 483.4 MB, free: 8.191 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.5783, allocations: 55.36 kB / 483.5 MB, free: 8.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5784, allocations: 36.11 kB / 483.5 MB, free: 8.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5784, allocations: 0 / 483.5 MB, free: 8.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003272/0.5787, allocations: 141.3 kB / 483.6 MB, free: 7.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5788, allocations: 4 kB / 483.6 MB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5788, allocations: 0 / 483.6 MB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5788, allocations: 7.938 kB / 483.6 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.5792, allocations: 39.92 kB / 483.7 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.5792, allocations: 4 kB / 483.7 MB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.5794, allocations: 7.984 kB / 483.7 MB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.5794, allocations: 4 kB / 483.7 MB, free: 7.883 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001188/0.5796, allocations: 113 kB / 483.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.5796, allocations: 19.81 kB / 483.8 MB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003559/0.58, allocations: 135.2 kB / 484 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.58, allocations: 0 / 484 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.58, allocations: 0 / 484 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.58, allocations: 7.984 kB / 484 MB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007405/0.5808, allocations: 442.5 kB / 484.4 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.5808, allocations: 7.938 kB / 484.4 MB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/0.5812, allocations: 39.92 kB / 484.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5812, allocations: 0 / 484.4 MB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.5812, allocations: 4 kB / 484.4 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5812, allocations: 0 / 484.4 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5813, allocations: 0 / 484.4 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.5817, allocations: 271.2 kB / 484.7 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.5819, allocations: 101 kB / 484.8 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.5819, allocations: 4 kB / 484.8 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.5821, allocations: 11.98 kB / 484.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.5822, allocations: 11.92 kB / 484.8 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.5822, allocations: 4 kB / 484.8 MB, free: 6.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002055/0.5824, allocations: 152.6 kB / 485 MB, free: 6.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5825, allocations: 0 / 485 MB, free: 6.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004082/0.5829, allocations: 43.94 kB / 485 MB, free: 6.438 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0008139/0.5837, allocations: 0.8036 MB / 485.8 MB, free: 5.605 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.584, allocations: 88.06 kB / 485.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.584, allocations: 0 / 485.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.5841, allocations: 39.94 kB / 486 MB, free: 5.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.5846, allocations: 35.97 kB / 486 MB, free: 5.445 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.5861, allocations: 472.5 kB / 486.5 MB, free: 4.949 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.5864, allocations: 0.7283 MB / 487.2 MB, free: 4.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.5866, allocations: 25.31 kB / 487.2 MB, free: 4.168 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.5867, allocations: 51.42 kB / 487.3 MB, free: 4.117 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5867, allocations: 0 / 487.3 MB, free: 4.117 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.6101, allocations: 3.285 MB / 490.5 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003597/0.6105, allocations: 151.5 kB / 490.7 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/2.889, allocations: 0 / 490.7 MB, free: 0.6758 MB / 410.7 MB