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 2.337/2.337, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.251e-05, allocations: 2.75 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.715/1.838, allocations: 446.4 MB / 0.7233 GB, free: 83.12 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/1.838, allocations: 75.94 kB / 0.7234 GB, free: 83.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1529/1.991, allocations: 29.17 MB / 0.7519 GB, free: 59.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.991, allocations: 4 kB / 0.7519 GB, free: 59.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/1.991, allocations: 0 / 0.7519 GB, free: 59.34 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.0006406/1.992, allocations: 386 kB / 0.7522 GB, free: 58.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/1.992, allocations: 8.031 kB / 0.7522 GB, free: 58.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/1.996, allocations: 178.7 kB / 0.7524 GB, free: 58.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/1.997, allocations: 213.3 kB / 0.7526 GB, free: 58.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/1.997, allocations: 4 kB / 0.7526 GB, free: 58.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/1.997, allocations: 4 kB / 0.7526 GB, free: 58.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006667/1.998, allocations: 150.2 kB / 0.7528 GB, free: 58.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/1.998, allocations: 129 kB / 0.7529 GB, free: 58.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/1.998, allocations: 3.938 kB / 0.7529 GB, free: 58.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/1.998, allocations: 0 / 0.7529 GB, free: 58.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.998, allocations: 4 kB / 0.7529 GB, free: 58.31 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.001834/2, allocations: 0.549 MB / 0.7534 GB, free: 57.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/2, allocations: 123.4 kB / 0.7536 GB, free: 57.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/2.001, allocations: 61.47 kB / 0.7536 GB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/2.001, allocations: 4 kB / 0.7536 GB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/2.001, allocations: 38.06 kB / 0.7537 GB, free: 57.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 4.128e-06/2.001, allocations: 4 kB / 0.7537 GB, free: 57.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.009002/2.01, allocations: 0.8916 MB / 0.7545 GB, free: 56.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/2.01, allocations: 55.03 kB / 0.7546 GB, free: 56.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.932e-05/2.01, allocations: 101 kB / 0.7547 GB, free: 56.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/2.01, allocations: 29.7 kB / 0.7547 GB, free: 56.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/2.01, allocations: 99.33 kB / 0.7548 GB, free: 56.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.385e-05/2.01, allocations: 66.41 kB / 0.7549 GB, free: 56.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/2.01, allocations: 0 / 0.7549 GB, free: 56.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/2.01, allocations: 322.4 kB / 0.7552 GB, free: 56.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/2.011, allocations: 60.19 kB / 0.7552 GB, free: 56.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/2.011, allocations: 87.97 kB / 0.7553 GB, free: 55.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/2.011, allocations: 70.78 kB / 0.7554 GB, free: 55.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.011, allocations: 0 / 0.7554 GB, free: 55.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007641/2.012, allocations: 232.4 kB / 0.7556 GB, free: 55.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/2.012, allocations: 8 kB / 0.7556 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/2.012, allocations: 224 / 0.7556 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/2.012, allocations: 40.33 kB / 0.7557 GB, free: 55.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007365/2.013, allocations: 55.84 kB / 0.7557 GB, free: 55.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000606/2.014, allocations: 0.5783 MB / 0.7563 GB, free: 55.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/2.014, allocations: 4.031 kB / 0.7563 GB, free: 55.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.907e-05/2.014, allocations: 27.92 kB / 0.7563 GB, free: 54.98 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.0001575/2.014, allocations: 120.3 kB / 0.7564 GB, free: 54.86 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007169/2.015, allocations: 206.6 kB / 0.7566 GB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/2.015, allocations: 15.86 kB / 0.7566 GB, free: 54.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/2.017, allocations: 319.6 kB / 0.7569 GB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/2.017, allocations: 0 / 0.7569 GB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/2.017, allocations: 8 kB / 0.7569 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/2.017, allocations: 0 / 0.7569 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/2.018, allocations: 0.5579 MB / 0.7575 GB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/2.018, allocations: 8.094 kB / 0.7575 GB, free: 53.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/2.019, allocations: 62.27 kB / 0.7576 GB, free: 53.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001419/2.019, allocations: 19.28 kB / 0.7576 GB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/2.019, allocations: 11.98 kB / 0.7576 GB, free: 53.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/2.02, allocations: 1.213 MB / 0.7588 GB, free: 52.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/2.02, allocations: 0 / 0.7588 GB, free: 52.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009945/2.021, allocations: 441.2 kB / 0.7592 GB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/2.022, allocations: 85.05 kB / 0.7593 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/2.022, allocations: 4 kB / 0.7593 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/2.022, allocations: 7.984 kB / 0.7593 GB, free: 51.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/2.022, allocations: 30.41 kB / 0.7593 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/2.022, allocations: 26.36 kB / 0.7593 GB, free: 51.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.121e-05/2.022, allocations: 85.72 kB / 0.7594 GB, free: 51.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.022, allocations: 0 / 0.7594 GB, free: 51.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009344/2.023, allocations: 108.3 kB / 0.7595 GB, free: 51.75 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.002736/2.026, allocations: 1.687 MB / 0.7612 GB, free: 50.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007878/2.027, allocations: 173.2 kB / 0.7613 GB, free: 49.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/2.027, allocations: 4.125 kB / 0.7613 GB, free: 49.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/2.027, allocations: 213.6 kB / 0.7615 GB, free: 49.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007883/2.028, allocations: 43.53 kB / 0.7616 GB, free: 49.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/2.03, allocations: 368.7 kB / 0.7619 GB, free: 49.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/2.03, allocations: 0.7124 MB / 0.7626 GB, free: 48.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009933/2.031, allocations: 85.09 kB / 0.7627 GB, free: 48.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/2.032, allocations: 71.39 kB / 0.7628 GB, free: 48.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/2.032, allocations: 0 / 0.7628 GB, free: 48.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07267/2.104, allocations: 9.482 MB / 0.772 GB, free: 39.03 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000244/2.105, allocations: 137.6 kB / 0.7722 GB, free: 38.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.413/5.518, allocations: 0 / 0.7722 GB, free: 38.83 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat