Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.226e-05, allocations: 7.938 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3661, allocations: 48.69 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2261/0.5923, allocations: 128.6 MB / 453.4 MB, free: 14.72 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.6032, allocations: 4.64 MB / 458.1 MB, free: 10.08 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008882/0.6041, allocations: 15.88 kB / 458.1 MB, free: 10.06 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008859/0.6051, allocations: 175 kB / 458.3 MB, free: 9.891 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002791/0.6079, allocations: 0.5681 MB / 458.8 MB, free: 9.324 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.6102, allocations: 0.491 MB / 459.3 MB, free: 8.832 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.6117, allocations: 0.5279 MB / 459.8 MB, free: 8.301 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000532/0.6122, allocations: 227.6 kB / 460.1 MB, free: 8.078 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.6133, allocations: 331.1 kB / 460.4 MB, free: 7.754 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.6139, allocations: 235.3 kB / 460.6 MB, free: 7.523 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.6156, allocations: 423.4 kB / 461 MB, free: 7.109 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.6159, allocations: 40 kB / 461.1 MB, free: 7.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.6162, allocations: 123.6 kB / 461.2 MB, free: 6.949 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.6164, allocations: 52 kB / 461.2 MB, free: 6.898 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.618, allocations: 0.6359 MB / 461.9 MB, free: 6.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.618, allocations: 3.938 kB / 461.9 MB, free: 6.262 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.618, allocations: 0 / 461.9 MB, free: 6.262 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.618, allocations: 0 / 461.9 MB, free: 6.262 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002416/0.6205, allocations: 0.7666 MB / 462.6 MB, free: 5.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6205, allocations: 12.03 kB / 462.7 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005946/0.6212, allocations: 71.38 kB / 462.7 MB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009615/0.6221, allocations: 378.7 kB / 463.1 MB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.6223, allocations: 58.64 kB / 463.2 MB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6224, allocations: 47.89 kB / 463.2 MB, free: 4.832 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.624, allocations: 0.5244 MB / 463.7 MB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.6241, allocations: 4 kB / 463.7 MB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.6242, allocations: 20 kB / 463.8 MB, free: 4.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.296e-05/0.6242, allocations: 12.66 kB / 463.8 MB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.6259, allocations: 430.1 kB / 464.2 MB, free: 3.812 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005415/0.6313, allocations: 2.495 MB / 466.7 MB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.6328, allocations: 359.4 kB / 467 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/0.633, allocations: 8.266 kB / 467 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009673/0.6339, allocations: 268.5 kB / 467.3 MB, free: 496 kB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 4.188e-06/0.634, allocations: 0 / 467.3 MB, free: 496 kB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.02241/0.6564, allocations: 3.596 MB / 470.9 MB, free: 12.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6566, allocations: 136.5 kB / 471 MB, free: 12.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.6572, allocations: 328.8 kB / 471.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.6573, allocations: 33.7 kB / 471.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.6576, allocations: 310.3 kB / 471.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.6579, allocations: 161.6 kB / 471.8 MB, free: 11.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.6579, allocations: 12 kB / 471.9 MB, free: 11.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6581, allocations: 334.8 kB / 472.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.6592, allocations: 241.1 kB / 472.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.6606, allocations: 438.4 kB / 472.8 MB, free: 10.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.6618, allocations: 322.3 kB / 473.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.6619, allocations: 4 kB / 473.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003213/0.6651, allocations: 0.799 MB / 474 MB, free: 9.531 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.6652, allocations: 37.7 kB / 474 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.6652, allocations: 4 kB / 474 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.666, allocations: 128.6 kB / 474.1 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6671, allocations: 152 kB / 474.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009431/0.668, allocations: 0.6772 MB / 475 MB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/0.669, allocations: 64.02 kB / 475 MB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.6692, allocations: 47.98 kB / 475.1 MB, free: 8.395 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004651/0.6696, allocations: 193.6 kB / 475.3 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.6698, allocations: 51.39 kB / 475.3 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.6734, allocations: 0.7875 MB / 476.1 MB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.6735, allocations: 7.953 kB / 476.1 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6735, allocations: 4 kB / 476.1 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6735, allocations: 0 / 476.1 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00443/0.6779, allocations: 1.315 MB / 477.4 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.678, allocations: 0 / 477.4 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009684/0.679, allocations: 120 kB / 477.5 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009655/0.68, allocations: 104.7 kB / 477.6 MB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/0.6801, allocations: 23.92 kB / 477.7 MB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002905/0.683, allocations: 1.707 MB / 479.4 MB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.683, allocations: 12.03 kB / 479.4 MB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/0.6873, allocations: 1.087 MB / 480.5 MB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.6878, allocations: 160.5 kB / 480.6 MB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.688, allocations: 12 kB / 480.6 MB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008477/0.6888, allocations: 63.94 kB / 480.7 MB, free: 2.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.6891, allocations: 67.94 kB / 480.8 MB, free: 2.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/0.6892, allocations: 39.98 kB / 480.8 MB, free: 2.324 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004985/0.6897, allocations: 255.2 kB / 481.1 MB, free: 2.078 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6897, allocations: 3.938 kB / 481.1 MB, free: 2.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001146/0.6909, allocations: 231.9 kB / 481.3 MB, free: 1.848 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001194/0.6921, allocations: 321.9 kB / 481.6 MB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.6949, allocations: 0.6542 MB / 482.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.695, allocations: 0 / 482.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/0.6965, allocations: 430.7 kB / 482.7 MB, free: 448 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.6981, allocations: 188.9 kB / 482.9 MB, free: 264 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2649/0.9631, allocations: 1.391 MB / 484.2 MB, free: 141.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004679/0.9636, allocations: 0.8645 MB / 485.1 MB, free: 140.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/0.9642, allocations: 84.2 kB / 485.2 MB, free: 140.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.9642, allocations: 1.344 kB / 485.2 MB, free: 140.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02775/0.9919, allocations: 11.61 MB / 496.8 MB, free: 137 MB / 410.7 MB