Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.239/2.239, allocations: 231.9 MB / 244 MB, free: 0.7188 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.699e-05/4.72e-05, allocations: 4 kB / 300.4 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1375, allocations: 53.33 MB / 353.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5735, allocations: 80.07 MB / 433.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.5739, allocations: 75.95 kB / 433.8 MB, free: 9.391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09039/0.6643, allocations: 18.34 MB / 452.2 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6644, allocations: 0 / 452.2 MB, free: 7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.862e-05/0.6645, allocations: 20 kB / 452.2 MB, free: 6.98 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.007818/0.6723, allocations: 1.5 MB / 453.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.6724, allocations: 12.03 kB / 453.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004785/0.6729, allocations: 118.4 kB / 453.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005459/0.6784, allocations: 0.5179 MB / 454.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.6809, allocations: 0.6568 MB / 455 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005267/0.6815, allocations: 259.5 kB / 455.2 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004272/0.682, allocations: 68.25 kB / 455.3 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.6848, allocations: 0.7614 MB / 456.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.6849, allocations: 0 / 456.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.6851, allocations: 28 kB / 456.1 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.6851, allocations: 20 kB / 456.1 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.6881, allocations: 0.7641 MB / 456.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.6996, allocations: 3.152 MB / 460 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.7025, allocations: 0.8885 MB / 460.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.7044, allocations: 0.5309 MB / 461.4 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.7046, allocations: 8.781 kB / 461.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.7047, allocations: 39.34 kB / 461.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=79): time 3.977e-06/0.7047, allocations: 0 / 461.5 MB, free: 13.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=79): time 0.02409/0.7288, allocations: 3.953 MB / 465.4 MB, free: 9.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.7289, allocations: 64.17 kB / 465.5 MB, free: 9.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.7303, allocations: 0.5547 MB / 466.1 MB, free: 8.688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002833/0.7306, allocations: 41.7 kB / 466.1 MB, free: 8.641 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.731, allocations: 384.2 kB / 466.5 MB, free: 8.258 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005672/0.7316, allocations: 272 kB / 466.7 MB, free: 7.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.7317, allocations: 16 kB / 466.8 MB, free: 7.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.7319, allocations: 337.9 kB / 467.1 MB, free: 7.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.7334, allocations: 413.5 kB / 467.5 MB, free: 7.234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.7351, allocations: 0.4918 MB / 468 MB, free: 6.711 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.7368, allocations: 442.8 kB / 468.4 MB, free: 6.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.7368, allocations: 3.938 kB / 468.4 MB, free: 6.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.02441/0.7613, allocations: 4.074 MB / 472.5 MB, free: 2.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.7614, allocations: 4 kB / 472.5 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.7614, allocations: 4 kB / 472.5 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01096/0.7724, allocations: 1.702 MB / 474.2 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.7735, allocations: 103.9 kB / 474.3 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0286/0.8021, allocations: 7.263 MB / 481.6 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.8045, allocations: 171.2 kB / 481.7 MB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.8048, allocations: 28 kB / 481.8 MB, free: 8.77 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 ) "d-axis transient voltage (pu)" 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 (58): * Single equations (assignments): 57 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003988/0.8052, allocations: 140.9 kB / 481.9 MB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003956/0.8056, allocations: 86.97 kB / 482 MB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/0.8293, allocations: 4.061 MB / 486 MB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.8294, allocations: 8 kB / 486.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8294, allocations: 4 kB / 486.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/0.8295, allocations: 3.984 kB / 486.1 MB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/0.8565, allocations: 5.354 MB / 491.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.8566, allocations: 0 / 491.4 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.8576, allocations: 91.89 kB / 491.5 MB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01034/0.868, allocations: 1.679 MB / 493.2 MB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003073/0.8684, allocations: 16 kB / 493.2 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02482/0.8932, allocations: 6.325 MB / 499.5 MB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8933, allocations: 0 / 499.5 MB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02615/0.9195, allocations: 4.748 MB / 0.4925 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/0.92, allocations: 179.9 kB / 0.4926 GB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004227/0.9204, allocations: 16 kB / 0.4926 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/0.9226, allocations: 119.9 kB / 0.4928 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001186/0.9238, allocations: 200.4 kB / 0.4929 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.924, allocations: 20 kB / 0.493 GB, free: 1.418 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.9251, allocations: 451.2 kB / 0.4934 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.9251, allocations: 0 / 0.4934 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002155/0.9273, allocations: 367.5 kB / 0.4937 GB, free: 0.6211 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * 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.02648/0.9538, allocations: 5.344 MB / 0.499 GB, free: 11.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009864/0.9637, allocations: 1.875 MB / 0.5008 GB, free: 9.363 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.9638, allocations: 0.5625 kB / 0.5008 GB, free: 9.363 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008232/0.9721, allocations: 1.423 MB / 0.5022 GB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009697/0.9731, allocations: 69.55 kB / 0.5023 GB, free: 7.863 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005387/0.9785, allocations: 1.335 MB / 0.5036 GB, free: 6.488 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/0.9794, allocations: 1.001 MB / 0.5045 GB, free: 5.461 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005661/0.98, allocations: 61.14 kB / 0.5046 GB, free: 5.398 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008226/0.9808, allocations: 303.3 kB / 0.5049 GB, free: 5.102 MB / 442.7 MB Notification: Performance of SimCode: time 1.834e-06/0.9809, allocations: 4 kB / 0.5049 GB, free: 5.098 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4021/1.383, allocations: 25.43 MB / 0.5297 GB, free: 139.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/1.383, allocations: 173.1 kB / 0.5299 GB, free: 139.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.23/4.613, allocations: 0.625 kB / 0.5299 GB, free: 139.5 MB / 458.7 MB