Notification: Performance of loadModel(ModelicaTest): time 1.745/1.745, allocations: 235 MB / 240.9 MB, free: 7.43 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2397/1.985, allocations: 57.19 MB / 298.1 MB, free: 8.43 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/2.086, allocations: 54.87 MB / 352.9 MB, free: 9.309 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.702/6.788, allocations: 2.648 GB / 2.993 GB, free: 110.1 MB / 488.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/6.788, allocations: 82.88 kB / 2.993 GB, free: 110 MB / 488.6 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of Generate backend data structure: time 2.832/9.62, allocations: 0.7428 GB / 3.736 GB, free: 35.02 MB / 0.4928 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/9.62, allocations: 6.312 kB / 3.736 GB, free: 35.02 MB / 0.4928 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007784/9.628, allocations: 0.633 MB / 3.736 GB, free: 34.94 MB / 0.4928 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003168/9.631, allocations: 1.088 MB / 3.737 GB, free: 34.61 MB / 0.4928 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.096e-05/9.631, allocations: 47.59 kB / 3.737 GB, free: 34.61 MB / 0.4928 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/9.631, allocations: 63.12 kB / 3.737 GB, free: 34.61 MB / 0.4928 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003869/9.635, allocations: 1.74 MB / 3.739 GB, free: 34.6 MB / 0.4928 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/9.638, allocations: 1.557 MB / 3.741 GB, free: 34.26 MB / 0.4928 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/9.638, allocations: 6.219 kB / 3.741 GB, free: 34.26 MB / 0.4928 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/9.639, allocations: 3.531 kB / 3.741 GB, free: 34.26 MB / 0.4928 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.813e-05/9.639, allocations: 88.14 kB / 3.741 GB, free: 34.26 MB / 0.4928 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5933/10.23, allocations: 137.7 MB / 3.875 GB, free: 111 MB / 0.5397 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/10.23, allocations: 1.032 MB / 3.876 GB, free: 110.9 MB / 0.5397 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/10.24, allocations: 0.5444 MB / 3.877 GB, free: 110.9 MB / 0.5397 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04389/10.28, allocations: 17.41 MB / 3.894 GB, free: 100 MB / 0.5397 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/10.28, allocations: 45.66 kB / 3.894 GB, free: 99.99 MB / 0.5397 GB Notification: Performance of pre-optimization done (n=91): time 5.739e-06/10.28, allocations: 4.688 kB / 3.894 GB, free: 99.99 MB / 0.5397 GB Notification: Performance of matching and sorting (n=129): time 0.09283/10.37, allocations: 10.67 MB / 3.904 GB, free: 99.54 MB / 0.5397 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/10.37, allocations: 221.2 kB / 3.905 GB, free: 99.29 MB / 0.5397 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/10.37, allocations: 0.7565 MB / 3.905 GB, free: 99.14 MB / 0.5397 GB Notification: Performance of collectPreVariables (initialization): time 0.0003669/10.37, allocations: 27.08 kB / 3.905 GB, free: 99.11 MB / 0.5397 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/10.37, allocations: 0.5181 MB / 3.906 GB, free: 98.84 MB / 0.5397 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005766/10.38, allocations: 434.8 kB / 3.906 GB, free: 98.62 MB / 0.5397 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/10.38, allocations: 0 / 3.906 GB, free: 98.62 MB / 0.5397 GB Notification: Performance of setup shared object (initialization): time 0.0001203/10.38, allocations: 367.3 kB / 3.907 GB, free: 98.31 MB / 0.5397 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/10.38, allocations: 1.343 MB / 3.908 GB, free: 98.31 MB / 0.5397 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003083/10.38, allocations: 1.779 MB / 3.91 GB, free: 97.82 MB / 0.5397 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009954/10.39, allocations: 1.982 MB / 3.912 GB, free: 97.8 MB / 0.5397 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/10.39, allocations: 3.344 kB / 3.912 GB, free: 97.8 MB / 0.5397 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02073/10.41, allocations: 5.466 MB / 3.917 GB, free: 97.66 MB / 0.5397 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009105/10.41, allocations: 4.788 MB / 3.922 GB, free: 92.69 MB / 0.5397 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/10.41, allocations: 14.53 kB / 3.922 GB, free: 92.69 MB / 0.5397 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01812/10.43, allocations: 4.084 MB / 3.926 GB, free: 92.67 MB / 0.5397 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/10.43, allocations: 327.8 kB / 3.926 GB, free: 92.67 MB / 0.5397 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/10.45, allocations: 6.32 MB / 3.932 GB, free: 91.6 MB / 0.5397 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005727/10.46, allocations: 279.5 kB / 3.932 GB, free: 91.59 MB / 0.5397 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005831/10.46, allocations: 127.3 kB / 3.932 GB, free: 91.59 MB / 0.5397 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/10.46, allocations: 4.75 kB / 3.932 GB, free: 91.59 MB / 0.5397 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01749/10.48, allocations: 3.149 MB / 3.935 GB, free: 91.54 MB / 0.5397 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.048e-05/10.48, allocations: 10.69 kB / 3.936 GB, free: 91.54 MB / 0.5397 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003565/10.48, allocations: 0.5944 MB / 3.936 GB, free: 91.53 MB / 0.5397 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/10.49, allocations: 462.9 kB / 3.937 GB, free: 91.52 MB / 0.5397 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/10.49, allocations: 1.937 MB / 3.938 GB, free: 90.48 MB / 0.5397 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/10.49, allocations: 181.9 kB / 3.939 GB, free: 90.48 MB / 0.5397 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/10.49, allocations: 100.7 kB / 3.939 GB, free: 90.48 MB / 0.5397 GB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0003638/10.49, allocations: 78.88 kB / 3.939 GB, free: 90.4 MB / 0.5397 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002704/10.5, allocations: 0.5054 MB / 3.939 GB, free: 90.34 MB / 0.5397 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/10.52, allocations: 7.324 MB / 3.946 GB, free: 90.05 MB / 0.5397 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/10.52, allocations: 30.3 kB / 3.946 GB, free: 90.05 MB / 0.5397 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-06/10.52, allocations: 2.281 kB / 3.946 GB, free: 90.05 MB / 0.5397 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.909e-05/10.52, allocations: 12.89 kB / 3.946 GB, free: 90.05 MB / 0.5397 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/10.54, allocations: 9.717 MB / 3.956 GB, free: 89.4 MB / 0.5397 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/10.54, allocations: 7.375 kB / 3.956 GB, free: 89.4 MB / 0.5397 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/10.54, allocations: 149.6 kB / 3.956 GB, free: 89.4 MB / 0.5397 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01432/10.56, allocations: 5.054 MB / 3.961 GB, free: 89.33 MB / 0.5397 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000452/10.56, allocations: 45.47 kB / 3.961 GB, free: 89.33 MB / 0.5397 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/10.58, allocations: 7.003 MB / 3.968 GB, free: 88.21 MB / 0.5397 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/10.58, allocations: 9.188 kB / 3.968 GB, free: 88.21 MB / 0.5397 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0175/10.59, allocations: 6.182 MB / 3.974 GB, free: 87.46 MB / 0.5397 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01752/10.61, allocations: 6.688 MB / 3.98 GB, free: 86.35 MB / 0.5397 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/10.61, allocations: 0.6543 MB / 3.981 GB, free: 86.16 MB / 0.5397 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/10.61, allocations: 7.875 kB / 3.981 GB, free: 86.16 MB / 0.5397 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004179/10.62, allocations: 198.6 kB / 3.981 GB, free: 86.16 MB / 0.5397 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/10.62, allocations: 94.16 kB / 3.981 GB, free: 86.16 MB / 0.5397 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000306/10.62, allocations: 77.12 kB / 3.981 GB, free: 86.16 MB / 0.5397 GB Notification: Performance of sort global known variables: time 0.001426/10.62, allocations: 0.8009 MB / 3.982 GB, free: 86.05 MB / 0.5397 GB Notification: Performance of remove unused functions: time 0.01172/10.63, allocations: 2.513 MB / 3.985 GB, free: 85.97 MB / 0.5397 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/10.64, allocations: 2.528 MB / 3.987 GB, free: 85.75 MB / 0.5397 GB Notification: Performance of simCode: created initialization part: time 0.01643/10.66, allocations: 5.335 MB / 3.992 GB, free: 85.71 MB / 0.5397 GB Notification: Performance of simCode: created event and clocks part: time 9.595e-06/10.66, allocations: 0 / 3.992 GB, free: 85.71 MB / 0.5397 GB Notification: Performance of simCode: created simulation system equations: time 0.008426/10.67, allocations: 2.528 MB / 3.995 GB, free: 85.67 MB / 0.5397 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003429/10.67, allocations: 471.5 kB / 3.995 GB, free: 85.67 MB / 0.5397 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06523/10.74, allocations: 20.53 MB / 4.015 GB, free: 82.47 MB / 0.5397 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001667/10.74, allocations: 1.58 MB / 4.017 GB, free: 81.67 MB / 0.5397 GB Notification: Performance of SimCode: time 1.525e-06/10.74, allocations: 4 kB / 4.017 GB, free: 81.66 MB / 0.5397 GB