Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 270 MB / 282.7 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.772e-05, allocations: 4 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 61.88 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.402/6.725, allocations: 2.759 GB / 3.158 GB, free: 46.71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/6.726, allocations: 83.95 kB / 3.159 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9415/7.667, allocations: 219 MB / 3.372 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.119e-06/7.667, allocations: 0 / 3.372 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.789e-05/7.667, allocations: 11.98 kB / 3.372 GB, free: 41.83 MB / 0.5261 GB 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.004391/7.672, allocations: 1.176 MB / 3.374 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/7.672, allocations: 12.03 kB / 3.374 GB, free: 40.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/7.674, allocations: 219.8 kB / 3.374 GB, free: 40.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/7.675, allocations: 366.5 kB / 3.374 GB, free: 39.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/7.675, allocations: 28.78 kB / 3.374 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/7.675, allocations: 28 kB / 3.374 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/7.676, allocations: 0.587 MB / 3.375 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/7.676, allocations: 0 / 3.375 GB, free: 39.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.357e-05/7.676, allocations: 12 kB / 3.375 GB, free: 39.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/7.677, allocations: 8 kB / 3.375 GB, free: 39.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/7.678, allocations: 496.7 kB / 3.375 GB, free: 38.79 MB / 0.5261 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.003003/7.681, allocations: 2.609 MB / 3.378 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/7.683, allocations: 418.3 kB / 3.378 GB, free: 35.53 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/7.683, allocations: 133.3 kB / 3.378 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04727/7.73, allocations: 24.15 MB / 3.402 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/7.73, allocations: 42.5 kB / 3.402 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.094e-06/7.73, allocations: 0 / 3.402 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002432/7.733, allocations: 0.6262 MB / 3.403 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/7.733, allocations: 114.8 kB / 3.403 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/7.733, allocations: 278.6 kB / 3.403 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/7.733, allocations: 33.7 kB / 3.403 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/7.733, allocations: 254.4 kB / 3.403 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/7.733, allocations: 78.84 kB / 3.403 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/7.734, allocations: 8 kB / 3.403 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/7.734, allocations: 318.8 kB / 3.404 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/7.734, allocations: 95.84 kB / 3.404 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/7.734, allocations: 183.1 kB / 3.404 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/7.734, allocations: 105.7 kB / 3.404 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.763e-06/7.734, allocations: 4 kB / 3.404 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006405/7.735, allocations: 302.6 kB / 3.404 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/7.735, allocations: 13.55 kB / 3.404 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.419e-06/7.735, allocations: 0 / 3.404 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/7.735, allocations: 4 kB / 3.404 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/7.736, allocations: 96.09 kB / 3.404 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/7.736, allocations: 11.94 kB / 3.404 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/7.736, allocations: 75.59 kB / 3.404 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/7.736, allocations: 16 kB / 3.404 GB, free: 5.637 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0001067/7.736, allocations: 124.9 kB / 3.405 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/7.736, allocations: 31.62 kB / 3.405 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/7.738, allocations: 1.845 MB / 3.406 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/7.738, allocations: 31.94 kB / 3.406 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.445e-06/7.738, allocations: 3.938 kB / 3.406 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/7.738, allocations: 0 / 3.406 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/7.74, allocations: 1.015 MB / 3.407 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/7.74, allocations: 0 / 3.407 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/7.74, allocations: 91.86 kB / 3.408 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.713e-06/7.74, allocations: 0 / 3.408 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/7.74, allocations: 12 kB / 3.408 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/7.74, allocations: 0 / 3.408 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.777e-06/7.74, allocations: 3.984 kB / 3.408 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/7.741, allocations: 0.9869 MB / 3.408 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/7.742, allocations: 219.5 kB / 3.409 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/7.742, allocations: 8 kB / 3.409 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/7.742, allocations: 51.89 kB / 3.409 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/7.742, allocations: 31.95 kB / 3.409 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/7.742, allocations: 15.98 kB / 3.409 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004207/7.743, allocations: 321.2 kB / 3.409 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.05e-07/7.743, allocations: 0 / 3.409 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.3168/8.06, allocations: 1.008 MB / 3.41 GB, free: 99.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.008506/8.068, allocations: 1.377 MB / 3.411 GB, free: 99.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001089/8.069, allocations: 0.494 MB / 3.412 GB, free: 99.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.98e-06/8.069, allocations: 1.062 kB / 3.412 GB, free: 99.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00064/8.07, allocations: 471 kB / 3.412 GB, free: 99.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/8.071, allocations: 199.2 kB / 3.413 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/8.073, allocations: 1.164 MB / 3.414 GB, free: 99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/8.074, allocations: 0.982 MB / 3.415 GB, free: 98.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/8.074, allocations: 41.97 kB / 3.415 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.777e-06/8.074, allocations: 0 / 3.415 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.04468/8.119, allocations: 26.41 MB / 3.44 GB, free: 97.09 MB / 0.5261 GB