Running command: "" <> buildModelFMU(ThermoPower.Test.ElectricalComponents.TestElectrical6,fileNamePrefix="ThermoPower_ThermoPower_Test_ElectricalComponents_TestElectrical6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.583/2.583, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.347e-05, allocations: 0 / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4746, allocations: 60.24 MB / 391.1 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.6652, allocations: 87.77 MB / 478.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.6656, allocations: 75.95 kB / 479 MB, free: 12.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04394/0.7096, allocations: 6.904 MB / 485.9 MB, free: 5.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7096, allocations: 0 / 485.9 MB, free: 5.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.7097, allocations: 8 kB / 485.9 MB, free: 5.969 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001834/0.7115, allocations: 0.6268 MB / 486.5 MB, free: 5.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.7116, allocations: 8.031 kB / 486.5 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.7118, allocations: 66.53 kB / 486.6 MB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.712, allocations: 59.3 kB / 486.6 MB, free: 5.156 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009883/0.713, allocations: 344.3 kB / 487 MB, free: 4.777 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.7131, allocations: 28.78 kB / 487 MB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.7132, allocations: 32 kB / 487 MB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.7142, allocations: 289.7 kB / 487.3 MB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.7142, allocations: 4 kB / 487.3 MB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.144e-05/0.7143, allocations: 8 kB / 487.3 MB, free: 4.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.7143, allocations: 11.95 kB / 487.3 MB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.7151, allocations: 181.1 kB / 487.5 MB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.7185, allocations: 1.128 MB / 488.7 MB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008214/0.7194, allocations: 239.1 kB / 488.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/0.7198, allocations: 108.9 kB / 489 MB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.047e-05/0.7199, allocations: 4 kB / 489 MB, free: 2.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.7199, allocations: 38.55 kB / 489 MB, free: 2.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.808e-06/0.7199, allocations: 4 kB / 489 MB, free: 2.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.00251/0.7225, allocations: 0.7396 MB / 489.8 MB, free: 1.816 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.7226, allocations: 55.41 kB / 489.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.7233, allocations: 307.5 kB / 490.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.7233, allocations: 37.7 kB / 490.2 MB, free: 1.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.7236, allocations: 204.4 kB / 490.4 MB, free: 1.195 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.7238, allocations: 126.2 kB / 490.5 MB, free: 1.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.7239, allocations: 11.94 kB / 490.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.7241, allocations: 350.8 kB / 490.8 MB, free: 0.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.7245, allocations: 76.75 kB / 490.9 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.7249, allocations: 129.4 kB / 491 MB, free: 500 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.7252, allocations: 103.7 kB / 491.1 MB, free: 396 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7252, allocations: 0 / 491.1 MB, free: 396 kB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001467/0.7267, allocations: 421.1 kB / 491.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.7267, allocations: 4 kB / 491.6 MB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.7267, allocations: 8.109 kB / 491.6 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.7279, allocations: 144.7 kB / 491.7 MB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.7287, allocations: 87.88 kB / 491.8 MB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/0.7308, allocations: 1.989 MB / 493.8 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.7313, allocations: 20.02 kB / 493.8 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.7314, allocations: 12 kB / 493.8 MB, free: 13.54 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.7316, allocations: 129.1 kB / 493.9 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/0.7317, allocations: 39.53 kB / 494 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.7325, allocations: 313.7 kB / 494.3 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.7325, allocations: 4 kB / 494.3 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.7325, allocations: 0 / 494.3 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.7325, allocations: 0 / 494.3 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.7342, allocations: 0.7601 MB / 495.1 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7342, allocations: 0 / 495.1 MB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008362/0.7351, allocations: 79.91 kB / 495.1 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.7351, allocations: 0 / 495.1 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.7352, allocations: 15.92 kB / 495.1 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.7352, allocations: 0 / 495.1 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7352, allocations: 0 / 495.1 MB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.7363, allocations: 0.4916 MB / 495.6 MB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.7365, allocations: 136.6 kB / 495.8 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.7366, allocations: 8 kB / 495.8 MB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.7372, allocations: 8 kB / 495.8 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.7373, allocations: 23.91 kB / 495.8 MB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.7373, allocations: 11.98 kB / 495.8 MB, free: 11.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004384/0.7378, allocations: 242.2 kB / 496.1 MB, free: 11.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.7378, allocations: 0 / 496.1 MB, free: 11.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.7384, allocations: 88 kB / 496.1 MB, free: 11.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.001417/0.7398, allocations: 1.04 MB / 497.2 MB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.7411, allocations: 288.5 kB / 497.5 MB, free: 9.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7411, allocations: 0 / 497.5 MB, free: 9.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.7415, allocations: 123.7 kB / 497.6 MB, free: 9.633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.7422, allocations: 61.3 kB / 497.6 MB, free: 9.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.7452, allocations: 0.9807 MB / 498.6 MB, free: 8.559 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.7457, allocations: 0.8306 MB / 499.5 MB, free: 7.703 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002815/0.746, allocations: 38.95 kB / 499.5 MB, free: 7.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.7463, allocations: 143.4 kB / 499.6 MB, free: 7.523 MB / 426.7 MB Notification: Performance of SimCode: time 3.096e-06/0.7463, allocations: 0 / 499.6 MB, free: 7.523 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.7805, allocations: 7.58 MB / 0.4953 GB, free: 8 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003803/0.7809, allocations: 182 kB / 0.4955 GB, free: 15.78 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.37, allocations: 0 / 0.4955 GB, free: 15.78 MB / 442.7 MB