Running command: "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical5,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.649/2.649, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.255e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3979, allocations: 60.24 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.5835, allocations: 86.71 MB / 477.8 MB, free: 13.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.5838, allocations: 71.97 kB / 477.9 MB, free: 13.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02559/0.6094, allocations: 5.473 MB / 483.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6095, allocations: 0 / 483.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.6095, allocations: 4 kB / 483.4 MB, free: 8.355 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001161/0.6107, allocations: 0.5645 MB / 484 MB, free: 7.746 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.6108, allocations: 8.031 kB / 484 MB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/0.6109, allocations: 62.48 kB / 484 MB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.937e-05/0.611, allocations: 39.53 kB / 484.1 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/0.6117, allocations: 324.1 kB / 484.4 MB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.6117, allocations: 16.44 kB / 484.4 MB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.6118, allocations: 24 kB / 484.4 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.6124, allocations: 221.9 kB / 484.6 MB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.6124, allocations: 4 kB / 484.6 MB, free: 7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.6124, allocations: 8 kB / 484.6 MB, free: 6.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.6125, allocations: 7.953 kB / 484.7 MB, free: 6.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.6129, allocations: 144.8 kB / 484.8 MB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.6147, allocations: 0.8592 MB / 485.7 MB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.6151, allocations: 181.2 kB / 485.8 MB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.6154, allocations: 92.84 kB / 485.9 MB, free: 5.641 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.6154, allocations: 7.938 kB / 485.9 MB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.6155, allocations: 34.56 kB / 486 MB, free: 5.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.706e-05/0.6155, allocations: 0 / 486 MB, free: 5.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001568/0.6171, allocations: 0.6224 MB / 486.6 MB, free: 4.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.6171, allocations: 55.64 kB / 486.6 MB, free: 4.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004527/0.6176, allocations: 266.7 kB / 486.9 MB, free: 4.578 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.6177, allocations: 29.7 kB / 486.9 MB, free: 4.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.6178, allocations: 180.4 kB / 487.1 MB, free: 4.363 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.618, allocations: 98.56 kB / 487.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.618, allocations: 8 kB / 487.2 MB, free: 4.258 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.6182, allocations: 342.8 kB / 487.5 MB, free: 3.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.6184, allocations: 64 kB / 487.6 MB, free: 3.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.6187, allocations: 98.56 kB / 487.7 MB, free: 3.742 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.6189, allocations: 73.38 kB / 487.8 MB, free: 3.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6189, allocations: 3.953 kB / 487.8 MB, free: 3.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001006/0.6199, allocations: 312 kB / 488.1 MB, free: 3.355 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.62, allocations: 7.953 kB / 488.1 MB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.62, allocations: 4 kB / 488.1 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.6206, allocations: 80.67 kB / 488.2 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.6212, allocations: 72.02 kB / 488.2 MB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.6233, allocations: 1.95 MB / 490.2 MB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.6237, allocations: 16.02 kB / 490.2 MB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.6238, allocations: 8 kB / 490.2 MB, free: 1.059 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 (28): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.6239, allocations: 129.3 kB / 490.3 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.624, allocations: 31.62 kB / 490.4 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006283/0.6247, allocations: 242.3 kB / 490.6 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.6247, allocations: 4 kB / 490.6 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.6247, allocations: 0 / 490.6 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6247, allocations: 0 / 490.6 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.626, allocations: 0.6702 MB / 491.3 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6261, allocations: 0 / 491.3 MB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/0.6268, allocations: 75.91 kB / 491.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.6268, allocations: 0 / 491.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.6268, allocations: 8 kB / 491.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6269, allocations: 0 / 491.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6269, allocations: 0 / 491.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008374/0.6277, allocations: 419.1 kB / 491.8 MB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.6279, allocations: 136.6 kB / 491.9 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.628, allocations: 8 kB / 491.9 MB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.6284, allocations: 12 kB / 491.9 MB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.6284, allocations: 15.97 kB / 491.9 MB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.6285, allocations: 8 kB / 492 MB, free: 15.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003351/0.6288, allocations: 210.2 kB / 492.2 MB, free: 15.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6288, allocations: 4 kB / 492.2 MB, free: 15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.6294, allocations: 76 kB / 492.2 MB, free: 14.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.001236/0.6306, allocations: 0.9624 MB / 493.2 MB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009296/0.6316, allocations: 204.1 kB / 493.4 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6316, allocations: 0 / 493.4 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.6318, allocations: 103.9 kB / 493.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005647/0.6324, allocations: 56.66 kB / 493.6 MB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.635, allocations: 0.8543 MB / 494.4 MB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.6355, allocations: 0.8029 MB / 495.2 MB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002266/0.6358, allocations: 34.94 kB / 495.2 MB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.636, allocations: 119.3 kB / 495.4 MB, free: 11.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6361, allocations: 8 kB / 495.4 MB, free: 11.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.674, allocations: 6.269 MB / 0.4899 GB, free: 5.508 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.6744, allocations: 186.2 kB / 0.4901 GB, free: 5.277 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.394, allocations: 0 / 0.4901 GB, free: 5.277 MB / 426.7 MB