Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 234.6 MB / 240.6 MB, free: 7.77 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2041/2.416, allocations: 56.68 MB / 297.3 MB, free: 8.473 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07867/2.494, allocations: 54.73 MB / 352 MB, free: 10.76 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.769/7.263, allocations: 2.627 GB / 2.971 GB, free: 140.1 MB / 472.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/7.263, allocations: 87.64 kB / 2.971 GB, free: 140.1 MB / 472.6 MB Notification: Performance of Generate backend data structure: time 1.721/8.985, allocations: 454.6 MB / 3.415 GB, free: 53.44 MB / 488.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/8.985, allocations: 10.94 kB / 3.415 GB, free: 53.44 MB / 488.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005065/8.99, allocations: 461.5 kB / 3.416 GB, free: 53.34 MB / 488.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/8.993, allocations: 1.011 MB / 3.417 GB, free: 52.73 MB / 488.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/8.993, allocations: 48.75 kB / 3.417 GB, free: 52.73 MB / 488.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/8.993, allocations: 79.25 kB / 3.417 GB, free: 52.73 MB / 488.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002711/8.996, allocations: 0.9334 MB / 3.418 GB, free: 52.36 MB / 488.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/8.999, allocations: 1.203 MB / 3.419 GB, free: 51.74 MB / 488.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/9, allocations: 11.89 kB / 3.419 GB, free: 51.74 MB / 488.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/9, allocations: 2.625 kB / 3.419 GB, free: 51.74 MB / 488.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.201e-05/9, allocations: 46.09 kB / 3.419 GB, free: 51.73 MB / 488.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3778/9.378, allocations: 71.91 MB / 3.489 GB, free: 104.4 MB / 0.4928 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/9.379, allocations: 323 kB / 3.489 GB, free: 104.4 MB / 0.4928 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/9.379, allocations: 248.6 kB / 3.49 GB, free: 104.4 MB / 0.4928 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0403/9.42, allocations: 17.02 MB / 3.506 GB, free: 93.75 MB / 0.4928 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/9.42, allocations: 40.88 kB / 3.506 GB, free: 93.71 MB / 0.4928 GB Notification: Performance of pre-optimization done (n=60): time 5.867e-06/9.42, allocations: 3.062 kB / 3.506 GB, free: 93.71 MB / 0.4928 GB Notification: Performance of matching and sorting (n=81): time 0.03836/9.458, allocations: 4.987 MB / 3.511 GB, free: 92.75 MB / 0.4928 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/9.458, allocations: 141.6 kB / 3.511 GB, free: 92.59 MB / 0.4928 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/9.46, allocations: 0.7165 MB / 3.512 GB, free: 92.44 MB / 0.4928 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/9.46, allocations: 28.98 kB / 3.512 GB, free: 92.41 MB / 0.4928 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/9.46, allocations: 0.6269 MB / 3.513 GB, free: 92.03 MB / 0.4928 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/9.461, allocations: 279.3 kB / 3.513 GB, free: 91.89 MB / 0.4928 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/9.461, allocations: 0 / 3.513 GB, free: 91.89 MB / 0.4928 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/9.461, allocations: 362.8 kB / 3.513 GB, free: 91.58 MB / 0.4928 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/9.462, allocations: 387.5 kB / 3.514 GB, free: 91.58 MB / 0.4928 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/9.463, allocations: 0.8653 MB / 3.514 GB, free: 90.97 MB / 0.4928 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002975/9.466, allocations: 0.6237 MB / 3.515 GB, free: 90.96 MB / 0.4928 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/9.466, allocations: 3.531 kB / 3.515 GB, free: 90.96 MB / 0.4928 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.007164/9.473, allocations: 1.826 MB / 3.517 GB, free: 90.87 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 0.00116/9.475, allocations: 6.351 MB / 3.523 GB, free: 84.26 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/9.475, allocations: 15.41 kB / 3.523 GB, free: 84.26 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/9.478, allocations: 0.5287 MB / 3.524 GB, free: 84.25 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/9.479, allocations: 299.9 kB / 3.524 GB, free: 84.25 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/9.484, allocations: 1.904 MB / 3.526 GB, free: 83.2 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/9.485, allocations: 99.62 kB / 3.526 GB, free: 83.2 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/9.486, allocations: 86.39 kB / 3.526 GB, free: 83.2 MB / 0.4928 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/9.486, allocations: 3.594 kB / 3.526 GB, free: 83.2 MB / 0.4928 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005731/9.492, allocations: 1.377 MB / 3.527 GB, free: 83.16 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/9.492, allocations: 18.66 kB / 3.527 GB, free: 83.16 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/9.494, allocations: 356.5 kB / 3.528 GB, free: 83.14 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/9.496, allocations: 306.9 kB / 3.528 GB, free: 83.14 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/9.498, allocations: 1.591 MB / 3.529 GB, free: 82.1 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/9.5, allocations: 90.25 kB / 3.53 GB, free: 82.1 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/9.5, allocations: 67.8 kB / 3.53 GB, free: 82.1 MB / 0.4928 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.0001738/9.501, allocations: 3.219 kB / 3.53 GB, free: 82.1 MB / 0.4928 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001484/9.502, allocations: 333.7 kB / 3.53 GB, free: 82.04 MB / 0.4928 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/9.508, allocations: 2.494 MB / 3.532 GB, free: 81.87 MB / 0.4928 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-05/9.508, allocations: 21.19 kB / 3.532 GB, free: 81.87 MB / 0.4928 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.66e-06/9.508, allocations: 3.75 kB / 3.532 GB, free: 81.87 MB / 0.4928 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/9.508, allocations: 6.688 kB / 3.532 GB, free: 81.87 MB / 0.4928 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/9.518, allocations: 4.455 MB / 3.537 GB, free: 81.38 MB / 0.4928 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/9.518, allocations: 0 / 3.537 GB, free: 81.38 MB / 0.4928 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006812/9.519, allocations: 122 kB / 3.537 GB, free: 81.38 MB / 0.4928 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003573/9.522, allocations: 1.069 MB / 3.538 GB, free: 81.32 MB / 0.4928 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/9.523, allocations: 21.73 kB / 3.538 GB, free: 81.32 MB / 0.4928 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/9.527, allocations: 2.349 MB / 3.54 GB, free: 80.25 MB / 0.4928 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1743/9.701, allocations: 43.58 MB / 3.583 GB, free: 64.42 MB / 0.4928 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007286/9.709, allocations: 2.999 MB / 3.586 GB, free: 63.89 MB / 0.4928 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008319/9.717, allocations: 4.093 MB / 3.59 GB, free: 62.98 MB / 0.4928 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008254/9.718, allocations: 355.4 kB / 3.59 GB, free: 62.81 MB / 0.4928 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/9.718, allocations: 5.094 kB / 3.59 GB, free: 62.81 MB / 0.4928 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/9.72, allocations: 75.59 kB / 3.59 GB, free: 62.8 MB / 0.4928 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/9.72, allocations: 66.34 kB / 3.59 GB, free: 62.8 MB / 0.4928 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.589e-05/9.72, allocations: 38.02 kB / 3.59 GB, free: 62.8 MB / 0.4928 GB Notification: Performance of sort global known variables: time 0.001091/9.721, allocations: 0.6332 MB / 3.591 GB, free: 62.69 MB / 0.4928 GB Notification: Performance of remove unused functions: time 0.01538/9.737, allocations: 4.066 MB / 3.595 GB, free: 62.64 MB / 0.4928 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.02388/9.761, allocations: 3.161 MB / 3.598 GB, free: 62.25 MB / 0.4928 GB Notification: Performance of simCode: created initialization part: time 0.005041/9.766, allocations: 1.991 MB / 3.6 GB, free: 62.23 MB / 0.4928 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/9.766, allocations: 0.7812 kB / 3.6 GB, free: 62.23 MB / 0.4928 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/9.768, allocations: 0.9406 MB / 3.601 GB, free: 62.21 MB / 0.4928 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/9.771, allocations: 335.9 kB / 3.601 GB, free: 62.18 MB / 0.4928 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05552/9.826, allocations: 16.97 MB / 3.618 GB, free: 60.68 MB / 0.4928 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/9.828, allocations: 1.423 MB / 3.619 GB, free: 59.94 MB / 0.4928 GB Notification: Performance of SimCode: time 2.305e-06/9.828, allocations: 1.344 kB / 3.619 GB, free: 59.94 MB / 0.4928 GB Error: Template error: A template call failed (a call with 3 parameters: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: omc_CodegenFMUCpp_translateModel). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates preserve pure 'match'/non-failing semantics). Error: Internal error SimCode: The model ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor could not be translated to FMU