Running command: "" <> buildModelFMU(OpenIPSL.Examples.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(OpenIPSL): time 2.332/2.332, allocations: 231.9 MB / 244 MB, free: 0.8086 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.473e-05/4.481e-05, allocations: 7.984 kB / 300.3 MB, free: 10.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1639, allocations: 53.34 MB / 353.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.6466, allocations: 81.48 MB / 435.2 MB, free: 8.078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.647, allocations: 79.95 kB / 435.2 MB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1064/0.7534, allocations: 20.42 MB / 455.7 MB, free: 3.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7535, allocations: 4 kB / 455.7 MB, free: 3.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.7536, allocations: 20 kB / 455.7 MB, free: 3.484 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00892/0.7625, allocations: 1.671 MB / 457.4 MB, free: 1.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.7626, allocations: 23.95 kB / 457.4 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005533/0.7632, allocations: 122.7 kB / 457.5 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/0.7689, allocations: 0.541 MB / 458 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/0.7716, allocations: 0.6884 MB / 458.7 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005517/0.7722, allocations: 268.2 kB / 459 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005098/0.7727, allocations: 72.05 kB / 459.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.776, allocations: 0.8507 MB / 459.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.7761, allocations: 0 / 459.9 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.7763, allocations: 32 kB / 459.9 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.7763, allocations: 16 kB / 460 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003281/0.7796, allocations: 0.8319 MB / 460.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.7928, allocations: 3.471 MB / 464.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.7955, allocations: 0.948 MB / 465.2 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.7975, allocations: 0.5699 MB / 465.8 MB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.7977, allocations: 16.77 kB / 465.8 MB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.7978, allocations: 47.34 kB / 465.8 MB, free: 8.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 3.877e-06/0.7978, allocations: 0 / 465.8 MB, free: 8.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.0246/0.8224, allocations: 4.054 MB / 469.9 MB, free: 4.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.8225, allocations: 60.19 kB / 470 MB, free: 4.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.8241, allocations: 0.6374 MB / 470.6 MB, free: 4.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003018/0.8244, allocations: 37.7 kB / 470.6 MB, free: 4.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/0.825, allocations: 444.4 kB / 471.1 MB, free: 3.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006515/0.8257, allocations: 319.3 kB / 471.4 MB, free: 3.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.8259, allocations: 20 kB / 471.4 MB, free: 3.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.8261, allocations: 341.9 kB / 471.7 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.8276, allocations: 438 kB / 472.2 MB, free: 2.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.8294, allocations: 0.5247 MB / 472.7 MB, free: 2.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.8311, allocations: 470 kB / 473.1 MB, free: 1.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.8312, allocations: 0 / 473.1 MB, free: 1.574 MB / 394.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0247/0.8559, allocations: 4.125 MB / 477.3 MB, free: 13.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.856, allocations: 8 kB / 477.3 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.856, allocations: 0 / 477.3 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/0.867, allocations: 1.706 MB / 479 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.8685, allocations: 155.8 kB / 479.1 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02886/0.8975, allocations: 7.092 MB / 486.2 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.9, allocations: 195.2 kB / 486.4 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/0.9004, allocations: 35.98 kB / 486.5 MB, free: 4.102 MB / 410.7 MB 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 (69): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.0004349/0.9009, allocations: 144.8 kB / 486.6 MB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004508/0.9013, allocations: 98.78 kB / 486.7 MB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02471/0.9261, allocations: 4.179 MB / 490.9 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.9261, allocations: 12 kB / 490.9 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.9262, allocations: 0 / 490.9 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.822e-05/0.9262, allocations: 3.984 kB / 490.9 MB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0282/0.9544, allocations: 5.554 MB / 496.4 MB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.939e-05/0.9545, allocations: 0 / 496.4 MB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.956, allocations: 135.8 kB / 496.6 MB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01053/0.9665, allocations: 1.687 MB / 498.3 MB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003384/0.9669, allocations: 23.98 kB / 498.3 MB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02523/0.9922, allocations: 6.337 MB / 0.4928 GB, free: 1.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.9922, allocations: 3.938 kB / 0.4928 GB, free: 1.656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02697/1.019, allocations: 4.912 MB / 0.4976 GB, free: 12.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/1.02, allocations: 187.6 kB / 0.4978 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004608/1.02, allocations: 19.95 kB / 0.4978 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/1.023, allocations: 147.9 kB / 0.4979 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/1.024, allocations: 216.4 kB / 0.4981 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/1.024, allocations: 24 kB / 0.4982 GB, free: 12.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001294/1.026, allocations: 0.4953 MB / 0.4986 GB, free: 11.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.026, allocations: 3.938 kB / 0.4986 GB, free: 11.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002387/1.028, allocations: 391.5 kB / 0.499 GB, free: 11.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * 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.02786/1.056, allocations: 5.504 MB / 0.5044 GB, free: 5.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01039/1.066, allocations: 1.958 MB / 0.5063 GB, free: 3.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/1.066, allocations: 4.125 kB / 0.5063 GB, free: 3.727 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008427/1.075, allocations: 1.458 MB / 0.5077 GB, free: 2.258 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.076, allocations: 75.25 kB / 0.5078 GB, free: 2.188 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006777/1.083, allocations: 1.519 MB / 0.5093 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.084, allocations: 1.057 MB / 0.5103 GB, free: 15.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007302/1.085, allocations: 73.44 kB / 0.5104 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.086, allocations: 375.3 kB / 0.5108 GB, free: 15.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.463e-06/1.086, allocations: 0 / 0.5108 GB, free: 15.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4341/1.52, allocations: 27.27 MB / 0.5374 GB, free: 137.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/1.52, allocations: 175.6 kB / 0.5376 GB, free: 136.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.637/5.157, allocations: 0 / 0.5376 GB, free: 136.9 MB / 458.7 MB