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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadModel(ModelicaTest): time 2.517/2.517, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.492e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3826, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.2282/0.6108, allocations: 128.6 MB / 491.5 MB, free: 12.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.6214, allocations: 4.633 MB / 496.1 MB, free: 8.266 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000833/0.6222, allocations: 19.81 kB / 496.1 MB, free: 8.246 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008131/0.6231, allocations: 163.1 kB / 496.3 MB, free: 8.086 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.6259, allocations: 0.5844 MB / 496.9 MB, free: 7.504 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.6282, allocations: 498.7 kB / 497.3 MB, free: 7.016 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00157/0.6298, allocations: 0.5278 MB / 497.9 MB, free: 6.484 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.6305, allocations: 223.6 kB / 498.1 MB, free: 6.266 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.6316, allocations: 339.1 kB / 498.4 MB, free: 5.934 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.6323, allocations: 243.2 kB / 498.7 MB, free: 5.695 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.6339, allocations: 415.5 kB / 499.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.6343, allocations: 39.94 kB / 499.1 MB, free: 5.25 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.6345, allocations: 123.6 kB / 499.2 MB, free: 5.129 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.6348, allocations: 56 kB / 499.3 MB, free: 5.074 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.6363, allocations: 0.637 MB / 499.9 MB, free: 4.438 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6363, allocations: 0 / 499.9 MB, free: 4.438 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.109e-06/0.6363, allocations: 4 kB / 499.9 MB, free: 4.434 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.6364, allocations: 0 / 499.9 MB, free: 4.434 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002281/0.6387, allocations: 0.7599 MB / 0.489 GB, free: 3.621 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6387, allocations: 11.97 kB / 0.489 GB, free: 3.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/0.6393, allocations: 75.33 kB / 0.489 GB, free: 3.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009307/0.6403, allocations: 386.6 kB / 0.4894 GB, free: 3.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.6404, allocations: 58.7 kB / 0.4895 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.6406, allocations: 36 kB / 0.4895 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.6422, allocations: 0.5283 MB / 0.49 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.6423, allocations: 7.906 kB / 0.49 GB, free: 2.438 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.6424, allocations: 16 kB / 0.49 GB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/0.6424, allocations: 16.66 kB / 0.49 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.6441, allocations: 434.1 kB / 0.4905 GB, free: 1.984 MB / 426.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.3713/1.015, allocations: 2.49 MB / 0.4929 GB, free: 136.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/1.018, allocations: 361.6 kB / 0.4932 GB, free: 136 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/1.018, allocations: 5.031 kB / 0.4932 GB, free: 136 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/1.02, allocations: 260.4 kB / 0.4935 GB, free: 136 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 5e-06/1.02, allocations: 3.562 kB / 0.4935 GB, free: 136 MB / 426.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.0288/1.048, allocations: 3.583 MB / 0.497 GB, free: 134.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/1.049, allocations: 133.8 kB / 0.4971 GB, free: 134.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/1.049, allocations: 339.1 kB / 0.4974 GB, free: 134.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/1.05, allocations: 36.83 kB / 0.4975 GB, free: 134.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/1.05, allocations: 303.1 kB / 0.4978 GB, free: 133.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/1.05, allocations: 157 kB / 0.4979 GB, free: 133.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/1.05, allocations: 14.84 kB / 0.4979 GB, free: 133.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/1.05, allocations: 336.2 kB / 0.4983 GB, free: 133.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/1.052, allocations: 242.4 kB / 0.4985 GB, free: 133.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/1.054, allocations: 437.2 kB / 0.4989 GB, free: 133 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/1.055, allocations: 325.7 kB / 0.4992 GB, free: 132.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.055, allocations: 1.781 kB / 0.4992 GB, free: 132.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003946/1.059, allocations: 0.8027 MB / 0.5 GB, free: 132.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.112e-05/1.059, allocations: 41.69 kB / 0.5 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/1.059, allocations: 6.312 kB / 0.5 GB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008396/1.06, allocations: 115.3 kB / 0.5002 GB, free: 132.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/1.062, allocations: 158.9 kB / 0.5003 GB, free: 132.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009969/1.063, allocations: 0.6768 MB / 0.501 GB, free: 131.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/1.064, allocations: 66.98 kB / 0.501 GB, free: 131.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/1.064, allocations: 51.05 kB / 0.5011 GB, free: 131.6 MB / 426.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.0005144/1.065, allocations: 188.8 kB / 0.5013 GB, free: 131.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/1.065, allocations: 51.06 kB / 0.5013 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/1.07, allocations: 0.7838 MB / 0.5021 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.07, allocations: 8 kB / 0.5021 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/1.07, allocations: 4 kB / 0.5021 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/1.07, allocations: 3.984 kB / 0.5021 GB, free: 130.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/1.076, allocations: 1.303 MB / 0.5034 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.076, allocations: 0 / 0.5034 GB, free: 129.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/1.077, allocations: 124.8 kB / 0.5035 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/1.078, allocations: 104.7 kB / 0.5036 GB, free: 129.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.078, allocations: 17.86 kB / 0.5036 GB, free: 129.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/1.081, allocations: 1.721 MB / 0.5053 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.081, allocations: 0 / 0.5053 GB, free: 127.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005095/1.087, allocations: 1.106 MB / 0.5064 GB, free: 126 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005646/1.087, allocations: 156.5 kB / 0.5065 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000216/1.087, allocations: 8 kB / 0.5065 GB, free: 125.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.089, allocations: 59.95 kB / 0.5066 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/1.089, allocations: 59.91 kB / 0.5066 GB, free: 125.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.089, allocations: 35.98 kB / 0.5067 GB, free: 125.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005607/1.09, allocations: 263.1 kB / 0.5069 GB, free: 125.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.09, allocations: 0 / 0.5069 GB, free: 125.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002209/1.092, allocations: 248.4 kB / 0.5071 GB, free: 125.2 MB / 426.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.001681/1.094, allocations: 308.3 kB / 0.5074 GB, free: 125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003558/1.097, allocations: 0.6463 MB / 0.5081 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.097, allocations: 4 kB / 0.5081 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.099, allocations: 442.4 kB / 0.5085 GB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.101, allocations: 170.7 kB / 0.5087 GB, free: 123.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/1.106, allocations: 1.421 MB / 0.5101 GB, free: 122.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/1.106, allocations: 0.8591 MB / 0.5109 GB, free: 121.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006609/1.107, allocations: 83.41 kB / 0.511 GB, free: 121.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/1.107, allocations: 0 / 0.511 GB, free: 121.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02925/1.136, allocations: 11.62 MB / 0.5223 GB, free: 109.7 MB / 426.7 MB