Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.557e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1464, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice): time 0.3541/0.5006, allocations: 14.24 MB / 425.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008197/0.5089, allocations: 3.623 MB / 428.8 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.5099, allocations: 22.66 kB / 428.8 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.511, allocations: 218.3 kB / 429 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.5138, allocations: 0.563 MB / 429.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.5174, allocations: 0.7019 MB / 430.3 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.5195, allocations: 0.651 MB / 430.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007906/0.5203, allocations: 295.3 kB / 431.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.5217, allocations: 420.1 kB / 431.6 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008845/0.5226, allocations: 305.2 kB / 431.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.5248, allocations: 0.5058 MB / 432.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.5254, allocations: 48.12 kB / 432.5 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.5257, allocations: 123.5 kB / 432.6 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.5262, allocations: 68.75 kB / 432.7 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.5287, allocations: 0.762 MB / 433.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5288, allocations: 0 / 433.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.5288, allocations: 1.594 kB / 433.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.174e-05/0.5289, allocations: 0 / 433.4 MB, free: 2.664 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002162/0.531, allocations: 0.8313 MB / 434.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5311, allocations: 8.656 kB / 434.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005883/0.5317, allocations: 81.92 kB / 434.4 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5329, allocations: 474.4 kB / 434.8 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.5329, allocations: 33.47 kB / 434.9 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.533, allocations: 49 kB / 434.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.5347, allocations: 0.6531 MB / 435.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.5347, allocations: 4.938 kB / 435.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.5348, allocations: 20.38 kB / 435.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.5349, allocations: 12.59 kB / 435.6 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.5362, allocations: 0.5259 MB / 436.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005987/0.5422, allocations: 3.165 MB / 439.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.543, allocations: 226.6 kB / 439.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004407/0.5435, allocations: 343.7 kB / 439.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007716/0.5443, allocations: 303.6 kB / 440.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.765e-06/0.5443, allocations: 0 / 440.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001807/0.5461, allocations: 0.613 MB / 440.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/0.5464, allocations: 294.6 kB / 441 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.5474, allocations: 491.5 kB / 441.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.5476, allocations: 33.33 kB / 441.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.5479, allocations: 370.4 kB / 441.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.5481, allocations: 91.47 kB / 442 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.5482, allocations: 10.25 kB / 442 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5483, allocations: 334 kB / 442.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.5488, allocations: 164 kB / 442.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.5496, allocations: 380.1 kB / 442.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.5502, allocations: 238.2 kB / 443.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.5502, allocations: 1.844 kB / 443.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001757/0.552, allocations: 0.5894 MB / 443.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009779/0.553, allocations: 2.135 MB / 445.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.5531, allocations: 5.5 kB / 445.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/0.5531, allocations: 8.953 kB / 445.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/0.5557, allocations: 196.5 kB / 446 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007505/0.5564, allocations: 0.6205 MB / 446.7 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.5576, allocations: 76.89 kB / 446.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.5578, allocations: 35.11 kB / 446.8 MB, free: 9.516 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5578, allocations: 4.312 kB / 446.8 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001669/0.5595, allocations: 0.5535 MB / 447.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.5595, allocations: 4.719 kB / 447.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5596, allocations: 9.375 kB / 447.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.5604, allocations: 119.8 kB / 447.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.5604, allocations: 13.72 kB / 447.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/0.5611, allocations: 55.05 kB / 447.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-05/0.5612, allocations: 29.36 kB / 447.6 MB, free: 9.234 MB / 362.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,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006232/0.5619, allocations: 229.8 kB / 447.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.5621, allocations: 66.8 kB / 447.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.5646, allocations: 0.7935 MB / 448.6 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.5647, allocations: 9.109 kB / 448.6 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5647, allocations: 2.109 kB / 448.6 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5647, allocations: 1.453 kB / 448.7 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.566, allocations: 0.5369 MB / 449.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.566, allocations: 0 / 449.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.5672, allocations: 126.5 kB / 449.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.5673, allocations: 1 kB / 449.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.987e-05/0.5674, allocations: 18.3 kB / 449.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004649/0.5678, allocations: 0.593 MB / 449.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5679, allocations: 0 / 449.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.5694, allocations: 0.555 MB / 450.5 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.57, allocations: 220.3 kB / 450.7 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.5702, allocations: 13.91 kB / 450.7 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005941/0.5709, allocations: 24.47 kB / 450.7 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.571, allocations: 26.64 kB / 450.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.571, allocations: 20.3 kB / 450.8 MB, free: 7.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008011/0.5719, allocations: 408.7 kB / 451.2 MB, free: 7.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5719, allocations: 0 / 451.2 MB, free: 7.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002211/0.5741, allocations: 422.7 kB / 451.6 MB, free: 6.988 MB / 362.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/0.5754, allocations: 347.9 kB / 451.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004415/0.5798, allocations: 0.9529 MB / 452.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.5799, allocations: 1.031 kB / 452.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.5817, allocations: 386.1 kB / 453.3 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.5844, allocations: 272.4 kB / 453.5 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.5879, allocations: 1.303 MB / 454.8 MB, free: 5.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.5886, allocations: 0.9066 MB / 455.7 MB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.589, allocations: 76.67 kB / 455.8 MB, free: 4.738 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.589, allocations: 0 / 455.8 MB, free: 4.738 MB / 362.7 MB Notification: Performance of Templates: time 0.03572/0.6248, allocations: 14.56 MB / 470.4 MB, free: 10.84 MB / 378.7 MB