Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.475e-05, allocations: 4 kB / 323.5 MB, free: 4.203 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4406, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.042/2.483, allocations: 0.6126 GB / 0.986 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/2.483, allocations: 96.58 kB / 0.9861 GB, free: 136.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.341/3.824, allocations: 271.3 MB / 1.251 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/3.824, allocations: 0 / 1.251 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.744e-05/3.824, allocations: 12 kB / 1.251 GB, free: 79.95 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003677/3.828, allocations: 1.201 MB / 1.252 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/3.828, allocations: 8.031 kB / 1.252 GB, free: 78.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/3.828, allocations: 90.52 kB / 1.252 GB, free: 78.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/3.83, allocations: 155 kB / 1.252 GB, free: 78.45 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/3.831, allocations: 0.4889 MB / 1.253 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/3.831, allocations: 36.88 kB / 1.253 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/3.831, allocations: 44 kB / 1.253 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/3.833, allocations: 0.625 MB / 1.254 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/3.833, allocations: 4 kB / 1.254 GB, free: 77.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/3.833, allocations: 27.95 kB / 1.254 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/3.833, allocations: 15.98 kB / 1.254 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/3.834, allocations: 477.7 kB / 1.254 GB, free: 76.64 MB / 0.5105 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.004206/3.838, allocations: 2.633 MB / 1.257 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/3.839, allocations: 298.7 kB / 1.257 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/3.84, allocations: 144.8 kB / 1.257 GB, free: 73.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004118/3.84, allocations: 325.6 kB / 1.257 GB, free: 73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/3.84, allocations: 38.56 kB / 1.257 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 4.088e-06/3.84, allocations: 3.984 kB / 1.257 GB, free: 72.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001548/3.842, allocations: 465.9 kB / 1.258 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/3.842, allocations: 162.2 kB / 1.258 GB, free: 72.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007196/3.843, allocations: 468.8 kB / 1.259 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.458e-05/3.843, allocations: 33.7 kB / 1.259 GB, free: 71.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/3.843, allocations: 303.5 kB / 1.259 GB, free: 71.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/3.843, allocations: 118.3 kB / 1.259 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/3.843, allocations: 8 kB / 1.259 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001033/3.843, allocations: 362.8 kB / 1.259 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/3.843, allocations: 133.1 kB / 1.259 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004418/3.844, allocations: 306.3 kB / 1.26 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/3.844, allocations: 175.7 kB / 1.26 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/3.844, allocations: 8 kB / 1.26 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001298/3.846, allocations: 0.5291 MB / 1.26 GB, free: 69.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/3.846, allocations: 12.09 kB / 1.26 GB, free: 69.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/3.846, allocations: 7.938 kB / 1.26 GB, free: 69.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/3.848, allocations: 240.6 kB / 1.261 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/3.849, allocations: 119.8 kB / 1.261 GB, free: 69.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004864/3.849, allocations: 0.5797 MB / 1.261 GB, free: 68.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/3.85, allocations: 71.42 kB / 1.261 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/3.85, allocations: 51.98 kB / 1.261 GB, free: 68.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001732/3.85, allocations: 144.8 kB / 1.262 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/3.85, allocations: 55.34 kB / 1.262 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/3.853, allocations: 0.6834 MB / 1.262 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/3.853, allocations: 4 kB / 1.262 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/3.853, allocations: 0 / 1.262 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/3.853, allocations: 7.984 kB / 1.262 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/3.854, allocations: 0.9446 MB / 1.263 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/3.854, allocations: 4 kB / 1.263 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/3.855, allocations: 47.91 kB / 1.263 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/3.857, allocations: 228.8 kB / 1.264 GB, free: 66.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/3.857, allocations: 8 kB / 1.264 GB, free: 66.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004684/3.857, allocations: 0.5836 MB / 1.264 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/3.857, allocations: 7.953 kB / 1.264 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009858/3.858, allocations: 0.5231 MB / 1.265 GB, free: 65.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/3.859, allocations: 164.3 kB / 1.265 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/3.859, allocations: 8 kB / 1.265 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/3.86, allocations: 35.88 kB / 1.265 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/3.86, allocations: 35.72 kB / 1.265 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.301e-05/3.86, allocations: 19.98 kB / 1.265 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000692/3.861, allocations: 401.5 kB / 1.265 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/3.861, allocations: 0 / 1.265 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002002/3.863, allocations: 439.5 kB / 1.266 GB, free: 64.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004011/3.867, allocations: 2.681 MB / 1.268 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001143/3.868, allocations: 332.9 kB / 1.269 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/3.868, allocations: 0 / 1.269 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003432/3.868, allocations: 128.2 kB / 1.269 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/3.871, allocations: 335.9 kB / 1.269 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/3.874, allocations: 0.8071 MB / 1.27 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/3.874, allocations: 0.8749 MB / 1.271 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001515/3.876, allocations: 224.7 kB / 1.271 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/3.876, allocations: 223.3 kB / 1.271 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/3.876, allocations: 0 / 1.271 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/3.995, allocations: 38.11 MB / 1.308 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/3.995, allocations: 241.2 kB / 1.309 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.168/8.163, allocations: 0 / 1.309 GB, free: 19.98 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat