Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.068/2.068, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.559e-05, allocations: 4 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.873/7.987, allocations: 2.476 GB / 2.785 GB, free: 105.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/7.988, allocations: 83.33 kB / 2.785 GB, free: 105.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13/9.117, allocations: 209 MB / 2.989 GB, free: 59.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.504e-06/9.117, allocations: 0 / 2.989 GB, free: 59.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.645e-05/9.117, allocations: 14.19 kB / 2.989 GB, free: 59.56 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005933/9.123, allocations: 1.158 MB / 2.99 GB, free: 58.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/9.123, allocations: 7.906 kB / 2.99 GB, free: 58.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/9.126, allocations: 219.4 kB / 2.991 GB, free: 58.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/9.127, allocations: 382.6 kB / 2.991 GB, free: 58.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/9.127, allocations: 11.53 kB / 2.991 GB, free: 58.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.708e-05/9.127, allocations: 22.23 kB / 2.991 GB, free: 58.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007719/9.128, allocations: 298.5 kB / 2.991 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/9.129, allocations: 378.4 kB / 2.992 GB, free: 58.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/9.129, allocations: 0 / 2.992 GB, free: 58.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/9.129, allocations: 3.938 kB / 2.992 GB, free: 58.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/9.129, allocations: 11.78 kB / 2.992 GB, free: 58.19 MB / 426.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.008064/9.137, allocations: 3.873 MB / 2.995 GB, free: 55.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/9.138, allocations: 227.4 kB / 2.996 GB, free: 55.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/9.138, allocations: 113.7 kB / 2.996 GB, free: 55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1756/9.314, allocations: 50.21 MB / 3.045 GB, free: 19.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/9.314, allocations: 38.56 kB / 3.045 GB, free: 19.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.226e-06/9.314, allocations: 0 / 3.045 GB, free: 19.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.00258/9.316, allocations: 0.5047 MB / 3.045 GB, free: 19.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/9.316, allocations: 106.8 kB / 3.045 GB, free: 19.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/9.317, allocations: 243.7 kB / 3.046 GB, free: 19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/9.317, allocations: 25.7 kB / 3.046 GB, free: 18.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/9.317, allocations: 281.5 kB / 3.046 GB, free: 18.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/9.317, allocations: 78.77 kB / 3.046 GB, free: 18.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/9.317, allocations: 0 / 3.046 GB, free: 18.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.08e-05/9.317, allocations: 322.7 kB / 3.046 GB, free: 18.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/9.317, allocations: 92.3 kB / 3.046 GB, free: 18.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/9.318, allocations: 200.2 kB / 3.047 GB, free: 17.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009599/9.319, allocations: 173.5 kB / 3.047 GB, free: 17.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/9.319, allocations: 0 / 3.047 GB, free: 17.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001453/9.32, allocations: 370 kB / 3.047 GB, free: 17.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/9.32, allocations: 15.48 kB / 3.047 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/9.32, allocations: 7.953 kB / 3.047 GB, free: 17.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/9.32, allocations: 4 kB / 3.047 GB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/9.321, allocations: 100.7 kB / 3.047 GB, free: 17.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/9.321, allocations: 8 kB / 3.047 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006662/9.322, allocations: 64.8 kB / 3.047 GB, free: 17.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/9.322, allocations: 18.91 kB / 3.047 GB, free: 17.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/9.322, allocations: 120.9 kB / 3.047 GB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001358/9.323, allocations: 291.6 kB / 3.048 GB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/9.323, allocations: 39.52 kB / 3.048 GB, free: 16.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/9.326, allocations: 1.627 MB / 3.049 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/9.326, allocations: 27.62 kB / 3.049 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/9.326, allocations: 0 / 3.049 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/9.326, allocations: 3.891 kB / 3.049 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/9.327, allocations: 0.8181 MB / 3.05 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/9.328, allocations: 0 / 3.05 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006406/9.328, allocations: 82.09 kB / 3.05 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.42e-05/9.328, allocations: 4 kB / 3.05 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/9.328, allocations: 15.89 kB / 3.05 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/9.328, allocations: 7.75 kB / 3.05 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/9.328, allocations: 0 / 3.05 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/9.33, allocations: 0.9122 MB / 3.051 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/9.33, allocations: 207.7 kB / 3.051 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/9.33, allocations: 0 / 3.051 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/9.331, allocations: 51.81 kB / 3.051 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/9.331, allocations: 28.23 kB / 3.051 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/9.331, allocations: 12 kB / 3.051 GB, free: 13.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00037/9.332, allocations: 263 kB / 3.052 GB, free: 13.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/9.332, allocations: 4 kB / 3.052 GB, free: 13.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004971/9.337, allocations: 0.9755 MB / 3.053 GB, free: 12.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01174/9.348, allocations: 2.796 MB / 3.055 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009519/9.349, allocations: 457.2 kB / 3.056 GB, free: 9.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/9.349, allocations: 0 / 3.056 GB, free: 9.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/9.35, allocations: 421 kB / 3.056 GB, free: 8.609 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/9.352, allocations: 170.1 kB / 3.056 GB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5736/9.925, allocations: 54.82 MB / 3.11 GB, free: 73.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/9.926, allocations: 0.9612 MB / 3.111 GB, free: 72.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/9.926, allocations: 240.7 kB / 3.111 GB, free: 72.53 MB / 442.7 MB Notification: Performance of SimCode: time 1.021e-06/9.926, allocations: 1.531 kB / 3.111 GB, free: 72.53 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.504/13.43, allocations: 29.27 MB / 3.14 GB, free: 69.46 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat