Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.103/3.103, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.564e-05, allocations: 3.188 kB / 249.8 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.869/1.987, allocations: 446.4 MB / 0.7233 GB, free: 83.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/1.987, allocations: 68.41 kB / 0.7233 GB, free: 83.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1493/2.136, allocations: 29.27 MB / 0.7519 GB, free: 59.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/2.136, allocations: 1.859 kB / 0.7519 GB, free: 59.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/2.136, allocations: 4 kB / 0.7519 GB, free: 59.18 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006398/2.137, allocations: 385.5 kB / 0.7523 GB, free: 58.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/2.137, allocations: 12.02 kB / 0.7523 GB, free: 58.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/2.137, allocations: 38.5 kB / 0.7524 GB, free: 58.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/2.141, allocations: 180.4 kB / 0.7525 GB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/2.142, allocations: 201.4 kB / 0.7527 GB, free: 58.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/2.142, allocations: 4 kB / 0.7527 GB, free: 58.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/2.142, allocations: 7.953 kB / 0.7527 GB, free: 58.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006833/2.143, allocations: 144.6 kB / 0.7529 GB, free: 58.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004077/2.143, allocations: 132.8 kB / 0.753 GB, free: 58.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/2.143, allocations: 0 / 0.753 GB, free: 58.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/2.143, allocations: 4 kB / 0.753 GB, free: 58.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/2.143, allocations: 4 kB / 0.753 GB, free: 58.1 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/2.145, allocations: 0.5472 MB / 0.7535 GB, free: 57.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/2.146, allocations: 126 kB / 0.7537 GB, free: 57.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/2.146, allocations: 62.11 kB / 0.7537 GB, free: 57.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/2.146, allocations: 15.91 kB / 0.7537 GB, free: 57.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/2.146, allocations: 34.38 kB / 0.7538 GB, free: 57.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 4.148e-06/2.146, allocations: 0 / 0.7538 GB, free: 57.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.009499/2.155, allocations: 0.8871 MB / 0.7546 GB, free: 56.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/2.156, allocations: 59.41 kB / 0.7547 GB, free: 56.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/2.156, allocations: 104.7 kB / 0.7548 GB, free: 56.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/2.156, allocations: 25.7 kB / 0.7548 GB, free: 56.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/2.156, allocations: 95.52 kB / 0.7549 GB, free: 56.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.79e-05/2.156, allocations: 62.59 kB / 0.755 GB, free: 56.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/2.156, allocations: 0 / 0.755 GB, free: 56.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.958e-05/2.156, allocations: 322.8 kB / 0.7553 GB, free: 55.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/2.156, allocations: 57.69 kB / 0.7553 GB, free: 55.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/2.157, allocations: 93.23 kB / 0.7554 GB, free: 55.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/2.157, allocations: 74.39 kB / 0.7555 GB, free: 55.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/2.157, allocations: 4 kB / 0.7555 GB, free: 55.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008365/2.158, allocations: 226.1 kB / 0.7557 GB, free: 55.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/2.158, allocations: 4 kB / 0.7557 GB, free: 55.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/2.158, allocations: 4.094 kB / 0.7557 GB, free: 55.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/2.158, allocations: 47.8 kB / 0.7558 GB, free: 55.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/2.159, allocations: 55.89 kB / 0.7558 GB, free: 55.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006267/2.16, allocations: 0.5703 MB / 0.7564 GB, free: 54.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/2.16, allocations: 4.031 kB / 0.7564 GB, free: 54.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/2.16, allocations: 28.08 kB / 0.7564 GB, free: 54.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001782/2.16, allocations: 116.6 kB / 0.7565 GB, free: 54.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/2.16, allocations: 11.86 kB / 0.7565 GB, free: 54.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/2.162, allocations: 318.7 kB / 0.7568 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/2.162, allocations: 0 / 0.7568 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/2.162, allocations: 4 kB / 0.7568 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/2.162, allocations: 0 / 0.7568 GB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/2.164, allocations: 0.5595 MB / 0.7574 GB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/2.164, allocations: 7.938 kB / 0.7574 GB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008807/2.165, allocations: 63.33 kB / 0.7574 GB, free: 53.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/2.165, allocations: 20.28 kB / 0.7575 GB, free: 53.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/2.165, allocations: 8 kB / 0.7575 GB, free: 53.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/2.166, allocations: 1.221 MB / 0.7587 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/2.166, allocations: 0 / 0.7587 GB, free: 52.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/2.167, allocations: 440.2 kB / 0.7591 GB, free: 52.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/2.167, allocations: 85.05 kB / 0.7592 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/2.168, allocations: 4 kB / 0.7592 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/2.168, allocations: 8.062 kB / 0.7592 GB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/2.168, allocations: 22.91 kB / 0.7592 GB, free: 51.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.56e-05/2.168, allocations: 26.36 kB / 0.7592 GB, free: 51.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.102e-05/2.168, allocations: 90.47 kB / 0.7593 GB, free: 51.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.168, allocations: 0 / 0.7593 GB, free: 51.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009575/2.169, allocations: 109.9 kB / 0.7594 GB, free: 51.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003013/2.172, allocations: 1.692 MB / 0.7611 GB, free: 50.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009048/2.173, allocations: 179.1 kB / 0.7612 GB, free: 49.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/2.173, allocations: 0 / 0.7612 GB, free: 49.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005104/2.174, allocations: 210.9 kB / 0.7614 GB, free: 49.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008699/2.175, allocations: 45.3 kB / 0.7615 GB, free: 49.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/2.176, allocations: 374.8 kB / 0.7618 GB, free: 49.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/2.177, allocations: 0.7085 MB / 0.7625 GB, free: 48.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001083/2.178, allocations: 77.16 kB / 0.7626 GB, free: 48.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/2.178, allocations: 69.84 kB / 0.7627 GB, free: 48.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.964e-06/2.178, allocations: 0 / 0.7627 GB, free: 48.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08507/2.264, allocations: 9.557 MB / 0.772 GB, free: 38.92 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003216/2.264, allocations: 137.7 kB / 0.7721 GB, free: 38.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.842/6.106, allocations: 0 / 0.7721 GB, free: 38.72 MB / 410.7 MB