Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.221/2.221, allocations: 231.9 MB / 244 MB, free: 0.7344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.901e-05, allocations: 7.984 kB / 300.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 53.34 MB / 353.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5335, allocations: 80.29 MB / 434 MB, free: 9.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.5339, allocations: 76.55 kB / 434.1 MB, free: 9.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09663/0.6306, allocations: 19.38 MB / 453.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6306, allocations: 0 / 453.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.408e-05/0.6307, allocations: 16 kB / 453.5 MB, free: 5.746 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.007764/0.6385, allocations: 1.567 MB / 455 MB, free: 4.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.6386, allocations: 8.031 kB / 455 MB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000417/0.639, allocations: 118.5 kB / 455.1 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.6443, allocations: 0.5255 MB / 455.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.6467, allocations: 0.676 MB / 456.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004782/0.6472, allocations: 255.8 kB / 456.6 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004/0.6476, allocations: 71.86 kB / 456.7 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.6505, allocations: 0.7849 MB / 457.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.6506, allocations: 4 kB / 457.5 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.6507, allocations: 24 kB / 457.5 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.6508, allocations: 16 kB / 457.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.6535, allocations: 0.7797 MB / 458.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.6645, allocations: 3.253 MB / 461.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/0.6672, allocations: 0.9176 MB / 462.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.6689, allocations: 0.5426 MB / 463 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.6692, allocations: 12.77 kB / 463 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.6692, allocations: 43.34 kB / 463 MB, free: 11.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 3.857e-06/0.6692, allocations: 3.938 kB / 463 MB, free: 11.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=81): time 0.0236/0.6928, allocations: 3.992 MB / 467 MB, free: 7.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.6929, allocations: 60.19 kB / 467.1 MB, free: 7.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.6944, allocations: 0.6134 MB / 467.7 MB, free: 7.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002835/0.6947, allocations: 45.64 kB / 467.8 MB, free: 7.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.6951, allocations: 384.4 kB / 468.1 MB, free: 6.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005342/0.6957, allocations: 295.7 kB / 468.4 MB, free: 6.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.6958, allocations: 16 kB / 468.4 MB, free: 6.336 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.696, allocations: 337.9 kB / 468.8 MB, free: 6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.6974, allocations: 421.6 kB / 469.2 MB, free: 5.586 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.6988, allocations: 0.5113 MB / 469.7 MB, free: 5.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.7003, allocations: 463.5 kB / 470.1 MB, free: 4.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.7003, allocations: 4 kB / 470.1 MB, free: 4.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.02431/0.7246, allocations: 4.153 MB / 474.3 MB, free: 432 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.7247, allocations: 12 kB / 474.3 MB, free: 420 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.7247, allocations: 0 / 474.3 MB, free: 420 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/0.736, allocations: 1.723 MB / 476 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.7372, allocations: 115.8 kB / 476.1 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02907/0.7663, allocations: 8.431 MB / 484.6 MB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/0.7687, allocations: 175.2 kB / 484.7 MB, free: 5.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/0.7689, allocations: 24 kB / 484.8 MB, free: 5.664 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 ) "d-axis sub-transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003994/0.7693, allocations: 148.8 kB / 484.9 MB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.7697, allocations: 86.97 kB / 485 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02383/0.7935, allocations: 4.1 MB / 489.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.7936, allocations: 12 kB / 489.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7936, allocations: 0 / 489.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/0.7936, allocations: 3.984 kB / 489.1 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/0.8197, allocations: 5.452 MB / 494.6 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.8198, allocations: 3.938 kB / 494.6 MB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.8209, allocations: 91.89 kB / 494.7 MB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01016/0.8311, allocations: 1.687 MB / 496.3 MB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002746/0.8315, allocations: 16 kB / 496.4 MB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02355/0.855, allocations: 6.329 MB / 0.4909 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8551, allocations: 0 / 0.4909 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02532/0.8804, allocations: 4.815 MB / 0.4956 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.8809, allocations: 183.9 kB / 0.4958 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/0.8812, allocations: 12 kB / 0.4958 GB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/0.8832, allocations: 127.9 kB / 0.4959 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009833/0.8842, allocations: 200.4 kB / 0.4961 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.8843, allocations: 16 kB / 0.4961 GB, free: 14.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001061/0.8854, allocations: 491.2 kB / 0.4966 GB, free: 13.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8854, allocations: 0 / 0.4966 GB, free: 13.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001814/0.8872, allocations: 379.5 kB / 0.497 GB, free: 13.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02641/0.9137, allocations: 5.414 MB / 0.5022 GB, free: 7.785 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009622/0.9233, allocations: 2.042 MB / 0.5042 GB, free: 5.723 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.9234, allocations: 0 / 0.5042 GB, free: 5.723 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007664/0.9311, allocations: 1.428 MB / 0.5056 GB, free: 4.285 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.9318, allocations: 71 kB / 0.5057 GB, free: 4.219 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.9364, allocations: 1.403 MB / 0.5071 GB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/0.9372, allocations: 1.017 MB / 0.5081 GB, free: 1.727 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004935/0.9377, allocations: 61.23 kB / 0.5081 GB, free: 1.664 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.9384, allocations: 319.3 kB / 0.5084 GB, free: 1.352 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/0.9384, allocations: 4 kB / 0.5084 GB, free: 1.348 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3688/1.307, allocations: 26.51 MB / 0.5343 GB, free: 141.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.308, allocations: 180.1 kB / 0.5345 GB, free: 140.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/4.517, allocations: 0 / 0.5345 GB, free: 140.9 MB / 458.7 MB