Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.84e-05, allocations: 7.984 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.134, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01963/0.1537, allocations: 7.307 MB / 418.2 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3775/0.5312, allocations: 8.895 MB / 427.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.5313, allocations: 0 / 427.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.5316, allocations: 30.53 kB / 427.1 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.5368, allocations: 1.158 MB / 428.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.608e-06/0.5368, allocations: 0 / 428.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.5369, allocations: 20.98 kB / 428.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.537, allocations: 1.875 kB / 428.3 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.5371, allocations: 30.45 kB / 428.4 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.5372, allocations: 13.05 kB / 428.4 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04555/0.5828, allocations: 23.86 MB / 452.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005171/0.588, allocations: 100 kB / 452.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.5881, allocations: 4.469 kB / 452.3 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.5881, allocations: 7.938 kB / 452.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02627/0.6144, allocations: 4.251 MB / 456.6 MB, free: 7.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6145, allocations: 0 / 456.6 MB, free: 7.012 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6145, allocations: 0 / 456.6 MB, free: 7.012 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.6145, allocations: 0 / 456.6 MB, free: 7.012 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003415/0.6179, allocations: 0.5458 MB / 457.1 MB, free: 6.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.618, allocations: 16.02 kB / 457.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.6181, allocations: 8.469 kB / 457.2 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.6183, allocations: 161.9 kB / 457.3 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.6183, allocations: 7.938 kB / 457.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.6183, allocations: 3.938 kB / 457.3 MB, free: 6.199 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.6185, allocations: 77.83 kB / 457.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.6185, allocations: 0 / 457.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.6186, allocations: 1.688 kB / 457.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.6186, allocations: 7.984 kB / 457.4 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.6187, allocations: 72.03 kB / 457.5 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.6193, allocations: 325.4 kB / 457.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.73e-05/0.6194, allocations: 49.62 kB / 457.9 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004496/0.6239, allocations: 1.681 MB / 459.5 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.624, allocations: 37.44 kB / 459.6 MB, free: 3.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.875e-06/0.624, allocations: 0 / 459.6 MB, free: 3.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004492/0.6245, allocations: 188.1 kB / 459.8 MB, free: 3.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.6245, allocations: 55.41 kB / 459.8 MB, free: 3.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.6246, allocations: 92.12 kB / 459.9 MB, free: 3.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.6247, allocations: 25.7 kB / 459.9 MB, free: 3.477 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.6247, allocations: 154.7 kB / 460.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.6248, allocations: 27.2 kB / 460.1 MB, free: 3.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.6248, allocations: 0 / 460.1 MB, free: 3.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.625, allocations: 318.8 kB / 460.4 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.625, allocations: 19.03 kB / 460.4 MB, free: 2.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.6251, allocations: 47.02 kB / 460.5 MB, free: 2.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.861e-05/0.6252, allocations: 23.81 kB / 460.5 MB, free: 2.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6252, allocations: 0 / 460.5 MB, free: 2.922 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002714/0.6255, allocations: 94.56 kB / 460.6 MB, free: 2.844 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.6255, allocations: 7.984 kB / 460.6 MB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.6255, allocations: 4 kB / 460.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6256, allocations: 0 / 460.6 MB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.6257, allocations: 14.59 kB / 460.6 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6257, allocations: 3.953 kB / 460.6 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.6258, allocations: 7.969 kB / 460.6 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.6258, allocations: 4 kB / 460.6 MB, free: 2.809 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001021/0.6259, allocations: 113.4 kB / 460.7 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.626, allocations: 8.578 kB / 460.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.6264, allocations: 145.9 kB / 460.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002118/0.6266, allocations: 114.3 kB / 461 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6266, allocations: 4 kB / 461 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6266, allocations: 7.953 kB / 461 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006624/0.6273, allocations: 426.4 kB / 461.4 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6273, allocations: 0.75 kB / 461.4 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6274, allocations: 18.8 kB / 461.5 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.6275, allocations: 3.953 kB / 461.5 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.6275, allocations: 4 kB / 461.5 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6275, allocations: 0.6875 kB / 461.5 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6275, allocations: 4 kB / 461.5 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.6278, allocations: 222.6 kB / 461.7 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.6279, allocations: 86.11 kB / 461.8 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.6279, allocations: 7.953 kB / 461.8 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.628, allocations: 3.812 kB / 461.8 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.6281, allocations: 6.625 kB / 461.8 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.6281, allocations: 3.938 kB / 461.8 MB, free: 1.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.6281, allocations: 87.27 kB / 461.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6282, allocations: 0 / 461.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002523/0.6307, allocations: 338.5 kB / 462.2 MB, free: 1.324 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.02723/0.658, allocations: 3.388 MB / 465.6 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.6583, allocations: 108 kB / 465.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6583, allocations: 0 / 465.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.6585, allocations: 57.83 kB / 465.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005092/0.659, allocations: 42.27 kB / 465.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.6595, allocations: 260.2 kB / 466.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.6599, allocations: 0.7004 MB / 466.8 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.6599, allocations: 15.44 kB / 466.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.6599, allocations: 0 / 466.8 MB, free: 12.83 MB / 378.7 MB Notification: Performance of Templates: time 0.03678/0.6967, allocations: 16.68 MB / 483.5 MB, free: 12.16 MB / 394.7 MB