Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.368/2.368, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.977e-05, allocations: 8 kB / 269.4 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.71/18.82, allocations: 5.796 GB / 6.106 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/18.82, allocations: 68.39 kB / 6.106 GB, free: 108.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 17.35/36.17, allocations: 3.486 GB / 9.592 GB, free: 6.18 MB / 0.62 GB Notification: Performance of FrontEnd: time 1.904e-06/36.17, allocations: 384 / 9.592 GB, free: 6.18 MB / 0.62 GB Notification: Performance of Transformations before backend: time 3.127e-05/36.17, allocations: 12 kB / 9.592 GB, free: 6.168 MB / 0.62 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.05443/36.22, allocations: 1.674 MB / 9.594 GB, free: 4.641 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/36.22, allocations: 12.03 kB / 9.594 GB, free: 4.629 MB / 0.62 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.487e-05/36.22, allocations: 66.53 kB / 9.594 GB, free: 4.555 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000731/36.22, allocations: 67.59 kB / 9.594 GB, free: 4.488 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/36.22, allocations: 307 kB / 9.594 GB, free: 4.16 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/36.22, allocations: 24.73 kB / 9.594 GB, free: 4.137 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.538e-05/36.22, allocations: 32 kB / 9.594 GB, free: 4.105 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/36.23, allocations: 460.1 kB / 9.595 GB, free: 3.617 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/36.23, allocations: 11.92 kB / 9.595 GB, free: 3.605 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/36.23, allocations: 12 kB / 9.595 GB, free: 3.594 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/36.23, allocations: 12 kB / 9.595 GB, free: 3.582 MB / 0.62 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/36.23, allocations: 377.3 kB / 9.595 GB, free: 3.215 MB / 0.62 GB 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.4903/36.72, allocations: 5.22 MB / 9.6 GB, free: 131.4 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/36.72, allocations: 285.5 kB / 9.6 GB, free: 131.3 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/36.72, allocations: 129.3 kB / 9.6 GB, free: 131.3 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003571/36.72, allocations: 2.057 MB / 9.602 GB, free: 129.5 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/36.72, allocations: 40.16 kB / 9.602 GB, free: 129.5 MB / 0.62 GB Notification: Performance of pre-optimization done (n=30): time 4.007e-06/36.72, allocations: 0 / 9.602 GB, free: 129.5 MB / 0.62 GB Notification: Performance of matching and sorting (n=34): time 0.007714/36.73, allocations: 1.115 MB / 9.604 GB, free: 129.2 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/36.73, allocations: 56.19 kB / 9.604 GB, free: 129.1 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/36.73, allocations: 232.9 kB / 9.604 GB, free: 129 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/36.73, allocations: 32.83 kB / 9.604 GB, free: 129 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/36.73, allocations: 187.4 kB / 9.604 GB, free: 128.9 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/36.73, allocations: 122 kB / 9.604 GB, free: 128.8 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/36.73, allocations: 11.58 kB / 9.604 GB, free: 128.8 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 0.000104/36.73, allocations: 337.3 kB / 9.605 GB, free: 128.5 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/36.73, allocations: 109.3 kB / 9.605 GB, free: 128.5 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/36.73, allocations: 219.2 kB / 9.605 GB, free: 128.4 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/36.73, allocations: 149.6 kB / 9.605 GB, free: 128.4 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/36.73, allocations: 1 kB / 9.605 GB, free: 128.4 MB / 0.62 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001479/36.73, allocations: 439.6 kB / 9.605 GB, free: 128.3 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/36.73, allocations: 9.469 kB / 9.605 GB, free: 128.3 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/36.73, allocations: 4.375 kB / 9.605 GB, free: 128.3 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/36.75, allocations: 292.8 kB / 9.606 GB, free: 128.3 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/36.75, allocations: 86.34 kB / 9.606 GB, free: 128.3 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/36.75, allocations: 1.836 MB / 9.608 GB, free: 126.5 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/36.75, allocations: 34.88 kB / 9.608 GB, free: 126.5 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.881e-05/36.75, allocations: 22.11 kB / 9.608 GB, free: 126.5 MB / 0.62 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001772/36.75, allocations: 130.6 kB / 9.608 GB, free: 126.4 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/36.75, allocations: 32.41 kB / 9.608 GB, free: 126.4 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/36.75, allocations: 0.6935 MB / 9.608 GB, free: 126.3 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/36.75, allocations: 8.766 kB / 9.608 GB, free: 126.3 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/36.75, allocations: 0 / 9.608 GB, free: 126.3 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001814/36.75, allocations: 0.8594 MB / 9.609 GB, free: 125.9 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003432/36.76, allocations: 1.186 MB / 9.61 GB, free: 125.5 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/36.76, allocations: 0 / 9.61 GB, free: 125.5 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007021/36.76, allocations: 65.03 kB / 9.611 GB, free: 125.5 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003852/36.76, allocations: 187.6 kB / 9.611 GB, free: 125.5 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.799e-05/36.76, allocations: 10.14 kB / 9.611 GB, free: 125.5 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004045/36.76, allocations: 0.5784 MB / 9.611 GB, free: 125 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/36.76, allocations: 0.75 kB / 9.611 GB, free: 125 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/36.76, allocations: 0.7164 MB / 9.612 GB, free: 124.8 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/36.76, allocations: 128.3 kB / 9.612 GB, free: 124.7 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/36.76, allocations: 10.05 kB / 9.612 GB, free: 124.7 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/36.76, allocations: 20.47 kB / 9.612 GB, free: 124.7 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/36.76, allocations: 26.67 kB / 9.612 GB, free: 124.7 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/36.76, allocations: 11.06 kB / 9.612 GB, free: 124.7 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.0003513/36.77, allocations: 220.8 kB / 9.612 GB, free: 124.6 MB / 0.62 GB Notification: Performance of sort global known variables: time 5.21e-07/36.77, allocations: 4.688 kB / 9.612 GB, free: 124.6 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.02188/36.79, allocations: 0.8612 MB / 9.613 GB, free: 124.6 MB / 0.62 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.2258/37.01, allocations: 20.23 MB / 9.633 GB, free: 114.6 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.001477/37.01, allocations: 478.7 kB / 9.633 GB, free: 114.5 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/37.01, allocations: 0 / 9.633 GB, free: 114.5 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0005316/37.02, allocations: 211.7 kB / 9.634 GB, free: 114.5 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/37.02, allocations: 183 kB / 9.634 GB, free: 114.5 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/37.03, allocations: 1.108 MB / 9.635 GB, free: 114.2 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/37.04, allocations: 0.8198 MB / 9.636 GB, free: 113.5 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.0007431/37.04, allocations: 192.4 kB / 9.636 GB, free: 113.5 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/37.04, allocations: 133.4 kB / 9.636 GB, free: 113.5 MB / 0.62 GB Notification: Performance of SimCode: time 1.723e-06/37.04, allocations: 0 / 9.636 GB, free: 113.5 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/37.16, allocations: 40.31 MB / 9.675 GB, free: 111 MB / 0.62 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/37.16, allocations: 166.1 kB / 9.676 GB, free: 110.8 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.227/42.39, allocations: 0 / 9.676 GB, free: 110.8 MB / 0.62 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat